/*
Theme Name: Werbedruck GM
Theme URI: https://werbedruck-gm.de
Author: SUPERBRAND.marketing
Author URI: https://superbrand.marketing
Description: Premium WordPress-Theme für Werbedruck GM - Digitaldruck, Folienbeschriftung, Textilveredelung und Lasergravuren im Oberbergischen.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: werbedruck-gm
Tags: business, one-page, custom-menu, featured-images, translation-ready
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ===== CSS Variables - Premium Corporate Design ===== */
:root {
  --primary: #e87817;
  --primary-dark: #c96510;
  --primary-light: #f5a623;
  --primary-glow: rgba(232, 120, 23, 0.4);
  --secondary: #4a4a4a;
  --secondary-dark: #2d2d2d;
  --accent: #e87817;
  --dark: #1a1a1a;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #2d2d2d;
  --gray-900: #1a1a1a;
  --neutral: #f8f8f8;
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(232, 120, 23, 0.2);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--dark);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* ===== Smooth Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible,
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible,
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible,
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible,
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== Premium Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 120, 23, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 120, 23, 0.5);
  color: #fff;
}

.btn-accent { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; box-shadow: 0 4px 16px rgba(232, 120, 23, 0.3); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(232, 120, 23, 0.5); color: #fff; }

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}

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

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 120, 23, 0.4);
}

.btn-orange { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(232, 120, 23, 0.5); color: #fff; }
.btn-outline-orange { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-orange:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; }
.btn-purple:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4); color: #fff; }
.btn-dark { background: linear-gradient(135deg, var(--gray-800), var(--dark)); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); color: #fff; }

.btn-lg {
  padding: 1.125rem 2.75rem;
  font-size: 1.0625rem;
}

.btn-download {
  background: var(--gray-800);
  color: #fff;
  gap: 0.75rem;
}

.btn-download:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== Premium Navigation ===== */
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-logo {
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--dark);
  transition: all var(--transition);
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.logo-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  margin-top: 0.125rem;
  transition: all var(--transition);
}

.site-header.scrolled .logo-tagline {
  font-size: 0.625rem;
}

.site-logo span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-logo:hover {
  transform: scale(1.02);
}

/* Logo Image */
.logo-img {
  height: 55px;
  width: auto;
  transition: all var(--transition);
  object-fit: contain;
}

.site-header.scrolled .logo-img {
  height: 45px;
}

.logo-img-footer {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition);
}

.logo-img-footer:hover {
  transform: scale(1.03);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition-fast);
  position: relative;
  border-radius: 50px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(232, 120, 23, 0.06);
}

.main-nav .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .mobile-menu-btn { display: none !important; }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: var(--radius);
  background: var(--gray-100);
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark);
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--gray-200);
}

.mobile-nav {
  display: none;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 0.75rem 1rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-600);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--primary);
  background: rgba(232, 120, 23, 0.05);
}

/* ===== Premium Hero Section ===== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.95) 0%, rgba(45,45,45,0.85) 40%, rgba(232,120,23,0.3) 100%);
  z-index: 1;
}

/* Animated particles/dots background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(232,120,23,0.15) 0%, transparent 50%),
                     radial-gradient(circle at 80% 20%, rgba(232,120,23,0.1) 0%, transparent 40%),
                     radial-gradient(circle at 50% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
  z-index: 2;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero .container {
  position: relative;
  z-index: 3;
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 5rem; }
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero p { font-size: 1.25rem; }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 120, 23, 0.15);
  border: 1px solid rgba(232, 120, 23, 0.3);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== Premium Sections ===== */
.section {
  padding: 6rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section { padding: 8rem 0; }
}

.section-neutral {
  background: var(--gray-50);
}

.section-white {
  background: #fff;
}

.section-dark {
  background: linear-gradient(135deg, var(--gray-900) 0%, #111 100%);
  color: #fff;
}

.section-gradient {
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -0.03em;
}

.section-title .accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin: 1rem auto 0;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.75rem; }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 40rem;
  margin: 1rem auto 4rem;
  text-align: center;
  line-height: 1.8;
}

/* ===== Premium Cards ===== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, rgba(232,120,23,0) 50%, rgba(232,120,23,0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card-img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.card-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.1));
  pointer-events: none;
}

.card-body {
  padding: 1.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.card-link {
  color: var(--primary);
  font-weight: 700;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.card-link:hover {
  color: var(--primary-dark);
  gap: 0.625rem;
}

/* ===== Premium Grid ===== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

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

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

/* ===== Glassmorphism Cards ===== */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
}

.glass-card:hover {
  background: rgba(255,255,255,0.85);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card-dark {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
}

.glass-card-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(232, 120, 23, 0.3);
  transform: translateY(-4px);
}

/* ===== Premium Service Features ===== */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  transition: color var(--transition-fast);
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.card:hover .service-features li::before {
  transform: scale(1.3);
}

/* ===== Premium About Section ===== */
.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about-stats .stat {
  text-align: center;
  background: linear-gradient(135deg, rgba(232,120,23,0.05), rgba(232,120,23,0.02));
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232,120,23,0.1);
  transition: all var(--transition);
}

.about-stats .stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,120,23,0.3);
}

.about-stats .stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.about-stats .stat-label {
  color: var(--gray-500);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  position: relative;
}

.about-images::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  top: -30px;
  right: -30px;
  opacity: 0.1;
  z-index: -1;
}

.about-images img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  transition: all var(--transition);
}

.about-images img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.about-images img:nth-child(2) {
  margin-top: 2.5rem;
}

/* ===== Premium Feature List ===== */
.feature-list {
  display: grid;
  gap: 1rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(232,120,23,0.04);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.feature-item:hover {
  background: rgba(232,120,23,0.08);
  transform: translateX(4px);
}

.feature-item .icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-item span {
  color: var(--gray-700);
  font-weight: 600;
}

/* ===== Check Icon ===== */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--primary);
  background: rgba(232,120,23,0.1);
  border-radius: 50%;
  padding: 6px;
}

.check-icon svg { width: 100%; height: 100%; }

/* ===== Premium CTA Box ===== */
.cta-box {
  background: linear-gradient(135deg, var(--gray-900), #222);
  border-radius: var(--radius-xl);
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(232,120,23,0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(232,120,23,0.1) 0%, transparent 50%);
}

.cta-box h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.cta-box p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media (min-width: 640px) {
  .cta-buttons { flex-direction: row; }
}

/* ===== Premium Technology Section ===== */
.tech-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}

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

.tech-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.tech-item:hover {
  background: rgba(232,120,23,0.04);
  transform: translateY(-4px);
}

.tech-item .icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tech-item .icon-circle svg { width: 32px; height: 32px; }
.tech-item h4 { font-weight: 800; color: var(--dark); margin-bottom: 0.75rem; font-size: 1.125rem; }
.tech-item p { color: var(--gray-500); line-height: 1.7; }

/* ===== Premium Contact Section ===== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.contact-info-item:hover {
  background: rgba(232,120,23,0.04);
}

.contact-info-item .icon-box {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(232,120,23,0.1), rgba(232,120,23,0.05));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-info-item:hover .icon-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.contact-info-item .icon-box svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color var(--transition);
}

.contact-info-item:hover .icon-box svg {
  color: #fff;
}

.contact-info-item h4 { font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.contact-info-item p { color: var(--gray-500); font-size: 0.9375rem; }

/* ===== Premium Form ===== */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--gray-50);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 120, 23, 0.1);
  background: #fff;
}

textarea.form-control { min-height: 140px; resize: vertical; }

.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-check { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-check input[type="checkbox"] { margin-top: 0.25rem; width: 20px; height: 20px; accent-color: var(--primary); }
.form-check label { font-size: 0.875rem; color: var(--gray-500); }
.form-check a { color: var(--primary); text-decoration: underline; }

/* ===== Premium Footer ===== */
.site-footer {
  background: linear-gradient(180deg, var(--gray-900) 0%, #0d0d0d 100%);
  color: #fff;
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

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

.site-footer h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin-bottom: 0.625rem; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
  font-size: 0.9375rem;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding: 1.75rem 0;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--primary);
  transition: all var(--transition-fast);
}

.footer-bottom a:hover { color: var(--primary-light); }

.footer-contact-info { margin-top: 1.5rem; }

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-contact-info svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== Premium Legal Pages ===== */
.legal-content {
  max-width: 48rem;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--dark);
}

.legal-content h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin-top: 1rem;
  border-radius: 2px;
}

.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--dark); }
.legal-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; color: var(--dark); }
.legal-content p { color: var(--gray-600); margin-bottom: 1rem; font-size: 0.9375rem; line-height: 1.8; }

.legal-content ul { list-style: none; padding: 0; margin-bottom: 1rem; }
.legal-content ul li { color: var(--gray-600); padding: 0.25rem 0 0.25rem 1.5rem; position: relative; font-size: 0.9375rem; }
.legal-content ul li::before { content: ""; position: absolute; left: 0; top: 0.65rem; width: 8px; height: 8px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; }

/* ===== Premium Page Hero ===== */
.page-hero {
  position: relative;
  color: #fff;
  padding: 6rem 0;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.page-hero .hero-gradient { position: absolute; inset: 0; }
.page-hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.page-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%); }

.page-hero .container {
  position: relative;
  text-align: center;
  z-index: 2;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .page-hero h1 { font-size: 3.75rem; }
}

.page-hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.8);
}

/* ===== Premium Service Content ===== */
.service-content-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .service-content-grid { grid-template-columns: 1fr 1fr; }
}

.service-content-grid img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  transition: all var(--transition);
}

.service-content-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.service-content-grid h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .service-content-grid h2 { font-size: 2.5rem; }
}

.service-content-grid p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ===== Examples Grid ===== */
.examples-grid {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

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

.examples-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 14rem;
  object-fit: cover;
  margin-bottom: 1rem;
  transition: all var(--transition);
}

.examples-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.examples-grid h4 { font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.examples-grid p { color: var(--gray-500); }

/* ===== Premium Download Section ===== */
.download-section {
  background: linear-gradient(135deg, rgba(232,120,23,0.04), rgba(232,120,23,0.02));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 2rem;
  border: 1px solid rgba(232,120,23,0.15);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.download-section h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 1rem; }
.download-section p { color: var(--gray-500); margin-bottom: 1rem; }

.download-list { display: flex; flex-direction: column; gap: 0.75rem; }

.download-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  color: var(--gray-700);
  font-weight: 700;
  transition: all var(--transition);
  text-decoration: none;
}

.download-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(232,120,23,0.04);
  transform: translateX(4px);
}

.download-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== AGB Content ===== */
.agb-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.agb-content p { color: var(--gray-600); margin-bottom: 0.75rem; font-size: 0.9375rem; line-height: 1.8; }

/* ===== Partner Badge ===== */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(232,120,23,0.1), rgba(232,120,23,0.05));
  color: var(--primary);
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid rgba(232,120,23,0.2);
  margin-bottom: 1.25rem;
}

/* ===== Animated Counter ===== */
.counter-section {
  background: linear-gradient(135deg, var(--gray-900), #111);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(232,120,23,0.08) 0%, transparent 70%);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}

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

.counter-item {
  padding: 1.5rem;
}

.counter-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.counter-label {
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Marquee / Infinite Scroll Text ===== */
.marquee-section {
  background: var(--primary);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-item .dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Testimonial Section ===== */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(232,120,23,0.1);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
}

.testimonial-name { font-weight: 700; color: var(--dark); }
.testimonial-role { font-size: 0.875rem; color: var(--gray-500); }

/* ===== Process Steps ===== */
.process-grid {
  display: grid;
  gap: 2rem;
}

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

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(232,120,23,0.3);
}

.process-step h4 { font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.process-step p { color: var(--gray-500); font-size: 0.9375rem; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-8 { margin-top: 2rem; }

/* ===== WordPress Specific ===== */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ===== Premium Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== Loading Animation ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===== Gradient Text Utility ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Floating shapes decoration ===== */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  background: var(--primary);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232, 120, 23, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(232, 120, 23, 0.5);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== Cursor Glow Effect ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 120, 23, 0.06) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: left 0.1s ease, top 0.1s ease;
}

/* ===== Footer Wave ===== */
.footer-wave {
  width: 100%;
  line-height: 0;
  margin-bottom: -1px;
}

.footer-wave svg {
  width: 100%;
  height: auto;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  display: none;
}

@media (min-width: 768px) {
  .top-bar { display: block; }
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.top-bar a {
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color var(--transition-fast);
}

.top-bar a:hover {
  color: var(--primary);
}

.top-bar svg {
  width: 14px;
  height: 14px;
}

/* ===== Hamburger Animation ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition-fast);
  border-radius: 1px;
}

.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);
}

/* ===== Gallery Grid (Unterseiten) ===== */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: #fff;
  font-weight: 700;
}

/* ===== Portfolio Grid (Startseite) ===== */
.portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.portfolio-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

/* ===== Services Grid (Startseite) ===== */
.services-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Testimonials Grid ===== */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

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

/* ===== Process Steps ===== */
.process-steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

/* ===== About Preview (Startseite) ===== */
.about-preview {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-preview { grid-template-columns: 1fr 1fr; }
}

.about-text h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-text h2 { font-size: 2.5rem; }
}

.about-text p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ===== Hero Content (alternative naming) ===== */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.8);
}

/* ===== Step Number / Content (alternative naming) ===== */
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(232,120,23,0.3);
}

.step-content h4 {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* ===== No-JS Fallback - Ensure content is visible without JavaScript ===== */
noscript ~ .reveal,
noscript ~ .reveal-left,
noscript ~ .reveal-right,
noscript ~ .reveal-scale {
  opacity: 1 !important;
  transform: none !important;
}

/* ===== Cookie Consent Box ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 1rem;
  animation: cookieSlideUp 0.5s ease-out;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
}

.cookie-consent-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.cookie-consent-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent-options {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
}

.cookie-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  flex: 1;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-300);
  border-radius: 24px;
  transition: background 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  background: var(--primary);
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie-consent-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.cookie-consent-buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Cookie Consent Responsive */
@media (max-width: 768px) {
  .cookie-consent-inner {
    padding: 1.25rem;
  }
  .cookie-consent-content {
    flex-direction: column;
  }
  .cookie-consent-icon {
    display: none;
  }
  .cookie-consent-options {
    flex-direction: column;
    gap: 1rem;
  }
  .cookie-consent-buttons {
    flex-direction: column;
  }
}

/* ===== Extended Contact Form ===== */
.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-200);
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.form-section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.form-section-title span:last-child {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--dark);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control.valid {
  border-color: #10b981;
}

.form-control.invalid {
  border-color: #ef4444;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.char-counter {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.375rem;
}

/* File Upload Area */
.file-upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--gray-50);
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--primary);
  background: rgba(232, 120, 23, 0.05);
}

.file-list {
  margin-top: 0.75rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--gray-50);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
}

.file-item-remove {
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.125rem;
  line-height: 1;
}

.file-item-remove:hover {
  color: #ef4444;
}

/* Contact Preference Grid */
.contact-preference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .contact-preference-grid {
    grid-template-columns: 1fr;
  }
}

.preference-option input[type="radio"] {
  display: none;
}

.preference-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-align: center;
}

.preference-option input[type="radio"]:checked + .preference-box {
  border-color: var(--primary);
  background: rgba(232, 120, 23, 0.05);
  color: var(--primary);
}

.preference-box:hover {
  border-color: var(--primary);
}

/* Form Check */
.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Success Message */
.form-success-message {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  color: #065f46;
}

/* Submit Button Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Cookie Consent SlideDown Animation */
@keyframes cookieSlideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}
