/* ================================================
   G & B REKLAMEBAU - MODERN REDESIGN 2026
   ================================================ */

:root {
  --primary-blue: #002e5d;
  --primary-red: #e21c21;
  --accent-blue: #0057b8;
  --accent-red: #ff4757;
  --light-blue: #e3f2fd;
  --light-red: #ffebee;
  --dark-text: #1a1a1a;
  --medium-text: #4a4a4a;
  --light-text: #6a6a6a;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --gradient-1: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent-blue) 100%
  );
  --gradient-2: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--accent-red) 100%
  );
  --gradient-3: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-red) 100%
  );
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    "Segoe UI",
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--dark-text);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", "Raleway", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  color: var(--dark-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

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

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

/* ================================================
   ANIMATED LINES SYSTEM
   ================================================ */

.animated-line {
  position: absolute;
  height: 8px;
  background: var(--gradient-3);
  z-index: 1;
  will-change: transform;
  transform: translateZ(0);
}

.animated-line.horizontal {
  width: 100%;
  left: 0;
  animation: slideHorizontal 2s ease-in-out forwards;
  animation-iteration-count: 1;
}

.animated-line.vertical {
  width: 8px;
  height: 100%;
  top: 0;
  animation: slideVertical 2s ease-in-out forwards;
  animation-iteration-count: 1;
}

.animated-line.blue {
  background: var(--gradient-1);
}

.animated-line.red {
  background: var(--gradient-2);
}

.animated-line.top {
  top: 0;
}
.animated-line.bottom {
  bottom: 0;
}
.animated-line.left {
  left: 0;
}
.animated-line.right {
  right: 0;
}

@keyframes slideHorizontal {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideVertical {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

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

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

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

@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ================================================
   MODERN HEADER
   ================================================ */

.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.modern-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  height: 50px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li a {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary-blue);
  background: var(--light-blue);
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-3);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-menu li a:hover::after {
  width: 80%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-text);
}

/* Header Lines */
.mu-header-line {
  position: relative;
  width: 100%;
  height: 13px;
  overflow: hidden;
}

.mu-blue-line,
.mu-red-line {
  position: absolute;
  bottom: 0;
  width: 49%;
  height: 13px;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

.mu-blue-line {
  left: 0;
  background-color: var(--primary-blue);
  animation-name: slideInFromLeft;
}

.mu-red-line {
  right: 0;
  background-color: var(--primary-red);
  animation-name: slideInFromRight;
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero-section {
  margin-top: 93px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
}

.page-hero {
  min-height: 50vh;
  overflow-x: hidden;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.page-hero .section-container {
  padding: clamp(2rem, 5vw, 4rem) clamp(0.75rem, 3vw, 1rem);
  max-width: 100%;
  box-sizing: border-box;
}

.page-hero .section-header {
  margin-bottom: 2rem;
  max-width: 100%;
}

.page-hero .section-title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  line-height: 1.2;
  word-wrap: break-word;
  color: white;
}

.page-hero .section-subtitle {
  max-width: 100%;
  padding: 0;
  word-wrap: break-word;
  color: white;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,46,93,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.4s ease-out;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-3);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--medium-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gradient-3);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.hero-image-container {
  position: relative;
  animation: fadeInUp 0.4s ease-out 0.1s both;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hero-image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.hero-image-grid img:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.hero-image-grid img:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.hero-image-grid img:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.hero-image-grid img:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  height: 300px;
}

/* ================================================
   CONTACT FORM SECTION
   ================================================ */

.form-section {
  background: var(--white);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--gradient-1);
  opacity: 0.05;
  border-radius: 50%;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(0, 46, 93, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--light-text);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 46, 93, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

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

.submit-btn {
  background: var(--gradient-3);
  color: var(--white);
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-alert {
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-alert--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-alert--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ================================================
   ABOUT SECTION
   ================================================ */

.about-section {
  padding: 6rem 2rem;
  background: var(--bg-light);
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeInUp 0.4s ease-out forwards;
}

.section-badge {
  display: inline-block;
  background: var(--gradient-1);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--light-text);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

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

.about-features {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-20px);
}

.feature-item.animate {
  animation: fadeInUp 0.4s ease-out forwards;
}

.feature-item:nth-child(1) {
  animation-delay: 0s;
}
.feature-item:nth-child(2) {
  animation-delay: 0.1s;
}
.feature-item:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.feature-content p {
  color: var(--light-text);
  margin: 0;
}

/* About Image Slideshow */
.about-image-container {
  position: relative;
}

.image-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 20px;
}

.slideshow-image:first-child {
  position: relative;
}

.slideshow-image.active {
  opacity: 1;
  z-index: 1;
}

/* ================================================
   PRODUCTS/SERVICES SECTION
   ================================================ */

.products-section {
  padding: 6rem 2rem;
  background: var(--white);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.product-card.animate {
  animation: fadeInUp 0.4s ease-out forwards;
}

.product-card:nth-child(1) {
  animation-delay: 0s;
}
.product-card:nth-child(2) {
  animation-delay: 0.05s;
}
.product-card:nth-child(3) {
  animation-delay: 0.1s;
}
.product-card:nth-child(4) {
  animation-delay: 0.15s;
}
.product-card:nth-child(5) {
  animation-delay: 0.2s;
}
.product-card:nth-child(6) {
  animation-delay: 0.25s;
}

.product-card:hover {
  transform: translateY(-10px) translateZ(0);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-3);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-content {
  padding: 2rem;
}

.product-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.product-content h3 {
  margin-bottom: 1rem;
  color: var(--dark-text);
}

.product-content p {
  color: var(--light-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-link {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.product-link:hover {
  gap: 1rem;
}

/* ================================================
   GALLERY SECTION
   ================================================ */

.gallery-section {
  padding: 6rem 2rem;
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scale(0.95);
}

.gallery-item.animate {
  animation: scaleIn 0.4s ease-out forwards;
}

.gallery-item:nth-child(1) {
  animation-delay: 0s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.05s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.15s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.25s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  will-change: transform;
  backface-visibility: hidden;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  color: var(--white);
  margin: 0;
}

/* ================================================
   SERVICES TIMELINE
   ================================================ */

.services-section {
  padding: 6rem 2rem;
  background: var(--white);
  position: relative;
}

.services-timeline {
  max-width: 1000px;
  margin: 3rem auto 0;
  position: relative;
}

.services-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-3);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
  order: 2;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.timeline-content.animate {
  animation: fadeInUp 0.4s ease-out forwards;
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.timeline-number {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 60px;
  height: 60px;
  background: var(--gradient-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  transform: translateX(-50%);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.timeline-content h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: var(--primary-red);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--light-text);
  line-height: 1.7;
}

/* ================================================
   STATS SECTION
   ================================================ */

.stats-section {
  padding: 4rem 2rem;
  background: var(--gradient-3);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ================================================
   CTA SECTION
   ================================================ */

.cta-section {
  padding: 6rem 2rem;
  background: var(--bg-light);
  text-align: center;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 4rem 3rem;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-3);
}

.cta-container h2 {
  margin-bottom: 1rem;
}

.cta-container p {
  color: var(--light-text);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ================================================
   FOOTER
   ================================================ */

/* ================================================
   FOOTER
   ================================================ */

.modern-footer {
  background: linear-gradient(135deg, #d0d0d0 0%, #001a35 100%);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.footer-wave .wave-shape {
  fill: var(--background);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.logo-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.footer-logo h2 {
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  margin: 0;
  color: var(--white);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 1rem;
}

.footer-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.footer-stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-stat-item strong {
  display: block;
  font-size: 1.3rem;
  color: var(--white);
  font-family: "Oswald", sans-serif;
}

.footer-stat-item span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: "Oswald", sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section h3 i {
  color: var(--accent-blue);
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-section ul li a i {
  font-size: 0.7rem;
  color: var(--accent-blue);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-section ul li a:hover i {
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  border-color: var(--accent-blue);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  margin: 2rem 0;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-left {
  text-align: left;
}

.footer-bottom-center {
  display: flex;
  justify-content: center;
}

.footer-bottom-right {
  text-align: right;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--accent-blue);
}

.footer-owner {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.developer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-top: 0.5rem;
  transition: var(--transition);
}

.developer-link:hover {
  background: var(--gradient-3);
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.5rem;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--gradient-3);
  transform: translateY(-5px) rotate(5deg);
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(226, 28, 33, 0.3);
}

/* ================================================
   LEGAL CONTENT (Impressum / Datenschutz)
   ================================================ */

.legal-content {
  line-height: 1.8;
  color: var(--text-color);
}

.legal-content h2 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  color: var(--primary-blue);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.legal-content h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--primary-red);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 1.2rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.legal-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.legal-content a {
  color: var(--primary-blue);
  text-decoration: none;
  word-break: break-word;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ================================================
   SCROLL TO TOP
   ================================================ */

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--gradient-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
}

/* ================================================
   DECORATIVE ELEMENTS
   ================================================ */

.section-decorator {
  position: absolute;
  pointer-events: none;
}

.section-decorator.top-left {
  top: 2rem;
  left: 2rem;
  width: 100px;
  height: 100px;
  background: var(--gradient-1);
  opacity: 0.1;
  border-radius: 50%;
}

.section-decorator.bottom-right {
  bottom: 2rem;
  right: 2rem;
  width: 150px;
  height: 150px;
  background: var(--gradient-2);
  opacity: 0.1;
  border-radius: 50%;
}

/* ================================================
   ANIMATION CLASSES
   ================================================ */

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.4s ease-out;
}

.scale-in {
  animation: scaleIn 0.4s ease-out;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
  .hero-container,
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-timeline::before {
    left: 30px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 80px;
  }

  .timeline-item:nth-child(even) .timeline-content {
    order: 1;
  }

  .timeline-number {
    left: 30px;
  }

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

@media (max-width: 768px) {
  .header-container {
    height: 70px;
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    gap: 1rem;
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-image-container {
    width: 100%;
    overflow: hidden;
  }

  .hero-image-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-image-grid img {
    height: 200px;
  }

  .hero-image-grid img:nth-child(3) {
    grid-column: 1 / 2;
    height: 220px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .cta-container {
    padding: 3rem 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-item {
    text-align: left;
  }

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

  .social-links {
    justify-content: center;
  }

  /* Footer Responsive */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-badge,
  .section-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  /* Footer Mobile */
  .footer-wave svg {
    height: 50px;
  }

  .footer-container {
    padding: 2rem 1rem 1.5rem;
  }

  .footer-logo h2 {
    font-size: 1.4rem;
  }

  .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .footer-stats {
    flex-direction: column;
  }

  .footer-stat-item {
    padding: 0.75rem 1rem;
  }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.text-center {
  text-align: center;
}
.text-gradient {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
