/* ===========================
   IYAWE AUTOVERWERTUNG
   Modern Landing Page Styles
   =========================== */

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

:root {
  --green: #22a83a;
  --green-dark: #1b8a2f;
  --green-light: #e8f7eb;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --gray-900: #212121;
  --gray-700: #4a4a4a;
  --gray-500: #717171;
  --gray-300: #d1d1d1;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.1), 0 16px 40px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--green-dark);
}

a:focus-visible,
button:focus-visible,
details summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

ul {
  list-style: none;
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 16px;
}

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.938rem;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.btn-white:hover,
.btn-white:focus-visible {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--green-dark);
}

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

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--green);
  color: var(--white);
}

.btn-lg {
  font-size: 1.063rem;
  padding: 16px 32px;
  border-radius: var(--radius);
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.938rem;
  transition: color var(--transition);
}

.nav-list a:hover {
  color: var(--green);
}

.header-cta {
  font-size: 0.875rem;
  padding: 10px 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- TRUST BAR --- */
.trust-bar {
  background: var(--green);
  padding: 32px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.trust-label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.063rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* --- SERVICES --- */
.services {
  padding: 96px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--green);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.service-card p {
  font-size: 0.938rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- ABOUT --- */
.about {
  padding: 96px 0;
  background: var(--gray-100);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}

.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-text > p {
  color: var(--gray-500);
  font-size: 1.0rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.about-features {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-900);
  font-size: 0.95rem;
}

.about-features svg {
  flex-shrink: 0;
  color: var(--green);
}

/* --- PROCESS --- */
.process {
  padding: 96px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 40px 28px;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 24px;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* --- GALLERY --- */
.gallery {
  padding: 96px 0;
  background: var(--gray-100);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-grid img {
  border-radius: var(--radius);
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* --- PARTS --- */
.parts {
  padding: 96px 0;
}

.parts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.parts-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}

.parts-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.parts-text > p {
  color: var(--gray-500);
  font-size: 1.0rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.parts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 96px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
}

.testimonial-card footer {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.testimonial-card cite {
  font-style: normal;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--green);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.063rem;
}

/* --- FAQ --- */
.faq {
  padding: 96px 0;
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--green);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  color: var(--gray-900);
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  background: var(--gray-100);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- MAP --- */
.map {
  padding: 96px 0;
  background: var(--gray-100);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.938rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.938rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--green);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* --- FLOATING ACTION BUTTONS --- */
.fab-group {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.phone-fab {
  background: var(--green);
  box-shadow: 0 4px 16px rgba(34, 168, 58, 0.4);
}

.phone-fab:hover {
  background: var(--green-dark);
  transform: scale(1.08);
  color: var(--white);
}

.whatsapp-fab {
  background: #25d366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-fab:hover {
  background: #1fb855;
  transform: scale(1.08);
  color: var(--white);
}

/* --- LEGAL PAGES --- */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 1.063rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 720px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0 24px;
    gap: 0;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  }

  .nav-list.open {
    max-height: 400px;
    opacity: 1;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--gray-300);
    box-shadow: var(--shadow-lg);
  }

  .nav-list li {
    width: 100%;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-list.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-list.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-list.open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-list.open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-list.open li:nth-child(4) { transition-delay: 0.2s; }
  .nav-list.open li:nth-child(5) { transition-delay: 0.25s; }
  .nav-list.open li:nth-child(6) { transition-delay: 0.3s; }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    max-height: 300px;
  }

  .parts-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .parts-image {
    order: -1;
  }

  .parts-image img {
    max-height: 300px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step {
    padding: 28px 20px;
  }

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

  .gallery-grid img {
    height: 220px;
  }

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .fab-group {
    display: flex;
  }

  .services,
  .about,
  .process,
  .map,
  .gallery,
  .testimonials,
  .faq {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 700px) {
  .hero-content {
    padding: 0 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .trust-number {
    font-size: 1.4rem;
  }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
