/* ========================================
   FLIESEN ODYSSEY INNSBRUCK - VIBRANT & ENERGETIC STYLE
   Mobile-First Responsive Design
   ======================================== */

/* CSS RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}

/* VIBRANT COLOR PALETTE */
:root {
  --primary: #FF6B35;
  --secondary: #F7931E;
  --accent: #FFC914;
  --dark: #1a1a1a;
  --light: #ffffff;
  --gray: #f4f4f4;
  --success: #00D9A5;
  --energy-gradient: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFC914 100%);
}

/* TYPOGRAPHY - BOLD & ENERGETIC */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 32px;
  margin-bottom: 24px;
  background: var(--energy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 28px;
  color: var(--primary);
}

h3 {
  font-size: 20px;
  color: var(--dark);
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

a:hover {
  color: var(--secondary);
  transform: translateX(2px);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--energy-gradient);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--secondary);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav a {
  color: var(--light);
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.mobile-nav a:hover {
  color: var(--accent);
  padding-left: 10px;
  border-bottom-color: var(--accent);
}

/* HEADER */
header {
  background: var(--light);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 4px solid var(--primary);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.main-nav {
  display: none;
}

/* HERO SECTION - HIGH ENERGY */
.hero {
  background: var(--energy-gradient);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 36px;
  color: var(--light);
  background: none;
  -webkit-text-fill-color: var(--light);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.subheadline {
  font-size: 18px;
  color: var(--light);
  font-weight: 600;
  margin-bottom: 32px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* CTA BUTTONS - BOLD & VIBRANT */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--dark);
  color: var(--accent);
  border: 3px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 201, 20, 0.4);
}

.btn-secondary {
  background: var(--light);
  color: var(--primary);
  border: 3px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.trust-badges span {
  background: rgba(255, 255, 255, 0.2);
  color: var(--light);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.trust-badges span:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* SECTIONS */
.section,
section {
  padding: 60px 20px;
  margin-bottom: 0;
}

.value-proposition {
  background: var(--gray);
}

.section-subheadline {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

/* VALUE CARDS - ENERGETIC LAYOUT */
.value-cards,
.service-cards,
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.value-card,
.service-card,
.testimonial-card {
  background: var(--light);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex: 1 1 280px;
  max-width: 350px;
  border: 3px solid transparent;
  position: relative;
  margin-bottom: 20px;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--energy-gradient);
  border-radius: 20px 20px 0 0;
}

.value-card:hover,
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
  border-color: var(--primary);
}

.value-card h3,
.service-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 20px;
}

.value-card p,
.service-card p {
  color: #555;
  line-height: 1.7;
}

.service-card .price {
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary);
  margin-top: 16px;
  display: block;
}

/* PROCESS STEPS */
.process {
  background: var(--light);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.step {
  flex: 1 1 250px;
  max-width: 280px;
  text-align: center;
  padding: 24px;
  position: relative;
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--energy-gradient);
  color: var(--light);
  font-size: 28px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.step h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* TESTIMONIALS - HIGH CONTRAST */
.testimonials {
  background: var(--dark);
  color: var(--light);
}

.testimonials h2 {
  color: var(--light);
  text-align: center;
}

.testimonial-card {
  background: var(--light);
  color: var(--dark);
  border-left: 5px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.testimonial-card p {
  font-style: italic;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.testimonial-card .customer {
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
  margin-top: 8px;
}

.rating {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 32px;
}

/* SERVICE AREA */
.service-area {
  background: var(--secondary);
  color: var(--light);
  text-align: center;
}

.service-area h2 {
  color: var(--light);
}

.locations {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0;
  line-height: 1.8;
}

/* CTA BANNER */
.cta-banner,
.cta-section {
  background: var(--energy-gradient);
  color: var(--light);
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2,
.cta-section h2 {
  color: var(--light);
  font-size: 32px;
  margin-bottom: 16px;
}

.cta-banner p,
.cta-section p {
  color: var(--light);
  font-size: 18px;
  margin-bottom: 32px;
}

.urgency {
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* PAGE HERO */
.page-hero {
  background: var(--dark);
  color: var(--light);
  padding: 80px 20px 60px;
  text-align: center;
}

.page-hero h1 {
  color: var(--light);
  background: none;
  -webkit-text-fill-color: var(--light);
}

.page-hero .subheadline {
  color: var(--accent);
}

/* STATS GRID */
.stats-grid,
.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.stat,
.metric {
  flex: 1 1 200px;
  text-align: center;
  padding: 32px;
  background: var(--light);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--primary);
}

.stat-number,
.metric .number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  background: var(--energy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label,
.metric .label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
}

/* PROJECT SHOWCASE */
.project {
  background: var(--light);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--secondary);
}

.project h2 {
  color: var(--dark);
  margin-bottom: 12px;
}

.category {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.details {
  color: #666;
  font-weight: 600;
  margin-top: 12px;
}

.project .testimonial {
  background: var(--gray);
  padding: 16px;
  border-radius: 10px;
  font-style: italic;
  margin-top: 16px;
  border-left: 3px solid var(--primary);
}

/* CONTACT PAGE */
.methods-grid,
.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.method,
.info-item {
  flex: 1 1 280px;
  background: var(--light);
  padding: 32px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 4px solid var(--primary);
}

.method h3,
.info-item h3 {
  color: var(--primary);
  margin-bottom: 16px;
}

/* THANK YOU PAGE */
.thank-you-hero {
  background: var(--energy-gradient);
  color: var(--light);
  padding: 80px 20px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  color: var(--light);
  font-size: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 30px rgba(0, 217, 165, 0.4);
}

.steps-grid,
.resources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.resource {
  flex: 1 1 280px;
  background: var(--light);
  padding: 32px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--secondary);
}

/* LEGAL PAGES */
.legal-page {
  padding: 60px 20px;
  background: var(--light);
}

.legal-page h1 {
  color: var(--primary);
  margin-bottom: 32px;
}

.legal-page h2 {
  color: var(--secondary);
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 24px;
}

.legal-page h3 {
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
  color: #555;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 60px 20px 32px;
  border-top: 5px solid var(--primary);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  font-weight: 600;
}

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

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* COOKIE CONSENT BANNER */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--light);
  padding: 24px 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  border-top: 3px solid var(--primary);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookie-consent.show {
  transform: translateY(0);
}

#cookie-consent .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#cookie-consent p {
  flex: 1 1 300px;
  margin: 0;
  color: var(--light);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-buttons button {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
}

#accept-cookies {
  background: var(--success);
  color: var(--light);
}

#accept-cookies:hover {
  background: #00b88a;
  transform: translateY(-2px);
}

#reject-cookies {
  background: transparent;
  color: var(--light);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

#reject-cookies:hover {
  background: rgba(255, 255, 255, 0.1);
}

#cookie-settings {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

#cookie-settings:hover {
  background: var(--accent);
  color: var(--dark);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.modal-content {
  background: var(--light);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gray);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.cookie-category h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: #ccc;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: var(--success);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--light);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left 0.3s ease;
}

.toggle-switch.active::after {
  left: 27px;
}

/* RESPONSIVE - TABLET */
@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
  
  .main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  
  .main-nav a {
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
  }
  
  .main-nav a:hover {
    background: var(--energy-gradient);
    color: var(--light);
    transform: translateY(-2px);
  }
  
  h1 {
    font-size: 48px;
  }
  
  h2 {
    font-size: 36px;
  }
  
  .hero h1 {
    font-size: 56px;
  }
  
  .value-cards,
  .service-cards {
    gap: 32px;
  }
  
  .value-card,
  .service-card {
    flex: 1 1 calc(50% - 16px);
  }
}

/* RESPONSIVE - DESKTOP */
@media (min-width: 1024px) {
  h1 {
    font-size: 56px;
  }
  
  .hero h1 {
    font-size: 64px;
  }
  
  .section,
  section {
    padding: 80px 20px;
  }
  
  .value-card,
  .service-card {
    flex: 1 1 calc(25% - 24px);
  }
  
  .process-steps {
    gap: 40px;
  }
  
  .cta-buttons {
    gap: 24px;
  }
  
  #cookie-consent .container {
    gap: 40px;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.value-card,
.service-card,
.step {
  animation: fadeIn 0.6s ease forwards;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  #cookie-consent,
  .cookie-modal {
    display: none !important;
  }
}