/* AS Maschinenputz - Compiled CSS for ProcessWire */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


:root {
    --background: 35 25% 98%;
    --foreground: 20 15% 15%;

    --card: 0 0% 100%;
    --card-foreground: 20 15% 15%;

    --popover: 0 0% 100%;
    --popover-foreground: 20 15% 15%;

    /* Kräftiges Rot aus dem AS-Logo #fc202d */
    --primary: 356 97% 56%;
    --primary-foreground: 0 0% 98%;
    --primary-hover: 356 97% 51%;

    /* Neutrales Grau/Beige als Sekundärfarbe */
    --secondary: 0 0% 92%;
    --secondary-foreground: 0 0% 25%;

    --muted: 0 0% 95%;
    --muted-foreground: 0 0% 45%;

    /* Stahlblau aus dem AS-Logo als Akzent */
    --accent: 210 60% 45%;
    --accent-foreground: 0 0% 98%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 0 0% 88%;
    --input: 0 0% 88%;
    --ring: 356 97% 56%;

    --radius: 0.75rem;

    /* Gradients angepasst an Logo-Farben */
    --gradient-primary: linear-gradient(135deg, hsl(356 97% 56%), hsl(210 60% 45%));
    --gradient-hero: linear-gradient(135deg, hsl(0 0% 10% / 0.85), hsl(210 25% 25% / 0.8));
    --gradient-card: linear-gradient(145deg, hsl(0 0% 100%), hsl(0 0% 96%));

    /* Schatten mit Logo-Farben */
    --shadow-soft: 0 4px 20px hsl(356 97% 56% / 0.08);
    --shadow-medium: 0 8px 30px hsl(356 97% 56% / 0.12);
    --shadow-strong: 0 12px 40px hsl(356 97% 56% / 0.15);

    /* Logo-spezifische Farben */
    --logo-red: 356 97% 56%;
    --logo-blue: 210 60% 45%;
    --logo-gray: 220 3% 67%

    /* Animationen */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --sidebar-background: 0 0% 98%;

    --sidebar-foreground: 240 5.3% 26.1%;

    --sidebar-primary: 240 5.9% 10%;

    --sidebar-primary-foreground: 0 0% 98%;

    --sidebar-accent: 240 4.8% 95.9%;

    --sidebar-accent-foreground: 240 5.9% 10%;

    --sidebar-border: 220 13% 91%;

    --sidebar-ring: 217.2 91.2% 59.8%;
}

:root {
  /* Colors from design system */
  --color-background: hsl(35, 25%, 98%);
  --color-foreground: hsl(20, 15%, 15%);
  --color-primary: hsl(356, 97%, 56%);
  --color-primary-foreground: hsl(0, 0%, 98%);
  --color-primary-hover: hsl(356, 97%, 51%);
  --color-secondary: hsl(0, 0%, 92%);
  --color-secondary-foreground: hsl(0, 0%, 25%);
  --color-muted: hsl(0, 0%, 95%);
  --color-muted-foreground: hsl(0, 0%, 45%);
  --color-accent: hsl(210, 60%, 45%);
  --color-accent-foreground: hsl(0, 0%, 98%);
  --color-border: hsl(0, 0%, 88%);
  --color-logo-red: hsl(356, 97%, 56%);
  --color-logo-blue: hsl(210, 60%, 45%);
  --color-logo-gray: hsl(220, 3%, 67%);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-4xl: 6rem;
  
  /* Border radius */
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1rem;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px hsla(356, 97%, 56%, 0.08);
  --shadow-medium: 0 8px 30px hsla(356, 97%, 56%, 0.12);
  --shadow-strong: 0 12px 40px hsla(356, 97%, 56%, 0.15);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  min-height: 100vh;
}

.font-bodoni {
  font-family: 'Bodoni Moda', serif;
}

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

.container-xl {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(252, 250, 249, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 0.5rem;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-foreground);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.header-topbar {
  background-color: var(--color-accent);
  color: var(--color-accent-foreground);
}

.header-topbar-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.header-contact {
  display: flex;
  gap: 1rem;
}

.header-contact a {
  color: var(--color-accent-foreground);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-smooth);
}

.header-contact a:hover {
  color: var(--color-primary);
}

.header-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-foreground);
}

.header-logo img {
  height: 3rem;
  width: auto;
  margin-right: 0.75rem;
}

.header-logo-text {
  font-size: 1.125rem;
  font-weight: 600;
}

.header-logo-subtext {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--color-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.nav-menu li:last-child {
  margin-left: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-primary-foreground);
  box-shadow: var(--shadow-soft);
}

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

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-foreground);
}

.btn-outline:hover {
  background-color: var(--color-muted);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(0, 0%, 10%, 0.85), hsla(210, 25%, 25%, 0.8));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-logo {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: var(--shadow-medium);
}

.hero-logo img {
  height: 9rem;
  width: auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-title-as .letter-a {
  color: var(--color-logo-red);
}

.hero-title-as .letter-s {
  color: var(--color-logo-blue);
}

.hero-title-maschinenputz {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  color: var(--color-logo-gray);
}

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

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-feature svg {
  color: var(--color-primary);
}

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

.btn-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
}

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

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.bg-muted {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: linear-gradient(145deg, hsl(0, 0%, 100%), hsl(0, 0%, 96%));
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.card-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(0, 0%, 10%, 0.85), hsla(210, 25%, 25%, 0.8));
  opacity: 0.6;
}

.card-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
}

.card-content {
  padding: 1.5rem;
}

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

.card-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}

.card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Stats / About Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(145deg, hsl(0, 0%, 100%), hsl(0, 0%, 96%));
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  box-shadow: var(--shadow-medium);
}

.stat-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(252, 32, 45, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-primary);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
}

.stat-description {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* Footer */
.footer {
  background-color: var(--color-accent);
  color: var(--color-accent-foreground);
  padding: 4rem 0 2rem;
}

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

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

.footer-logo img {
  height: 4rem;
  width: auto;
  margin-right: 1rem;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-logo-subtext {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: var(--color-accent-foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(252, 32, 45, 0.1);
}

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

/* Responsive */
@media (max-width: 768px) {
  .header-topbar-content > div:last-child {
    display: none;
  }
  
  .menu-icon {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 8.5rem;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-medium);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }
  
  .menu-toggle:checked ~ .nav-menu {
    max-height: 500px;
    opacity: 1;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: left;
  }
  
  .nav-menu li:last-child {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  .nav-menu .btn-primary {
    width: 100%;
    justify-content: center;
  }
  
  /* Burger animation */
  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-logo img {
    height: 5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-logo img {
    height: 7rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* Icon placeholders (using simple Unicode symbols) */
.icon-phone::before { content: "📞 "; }
.icon-mail::before { content: "✉️ "; }
.icon-map::before { content: "📍 "; }
.icon-clock::before { content: "🕐 "; }
.icon-check::before { content: "✓ "; }
