/* Global Clean-Up: Entfernt störende Template-Hintergrundgrafiken */
section, section::before, section::after,
div, div::before, div::after,
footer, footer::before, footer::after {
  background-image: none !important;
}

/* ==========================================
   1. STARTSEITE (INDEX) STYLES
   ========================================== */

/* Hero-Bereich */
.hero-section {
  background-color: #f8fafc !important;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(75, 142, 241, 0.12) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(to right, rgba(75, 142, 241, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(75, 142, 241, 0.05) 1px, transparent 1px) !important;
  background-size: 100% 100%, 40px 40px, 40px 40px !important;
  padding: 160px 0 100px 0 !important;
  position: relative;
}
.hero-title {
  font-weight: 700;
  color: #1f2937;
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero-text {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 25px;
  line-height: 1.6;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
  color: #374151;
  font-size: 1.05rem;
}
.hero-bullets li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.hero-bullets i {
  color: #4B8EF1;
  margin-right: 12px;
  font-size: 1.1rem;
}
.hero-btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.hero-btn {
  background-color: #4B8EF1;
  color: #ffffff !important;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(75, 142, 241, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}
.hero-btn:hover {
  background-color: #3a7bd5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(75, 142, 241, 0.4);
}

/* Browser Mockup Container */
.browser-window {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.browser-header {
  background: #f1f5f9;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}
.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Section Typography */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1f2937;
}
.section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 10px;
}

/* Features Grid (Services Section) */
.services-modern {
  padding: 90px 0 !important;
  background-color: #ffffff !important;
}
.service-card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.service-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: #eff6ff;
  color: #4B8EF1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.service-card-modern h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}
.service-card-modern p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.service-link {
  color: #4B8EF1;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link:hover {
  color: #1d4ed8;
}

/* Module Section */
.modules-section {
  padding: 90px 0 !important;
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.module-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  transition: all 0.3s ease;
}
.module-card:hover {
  border-color: #4B8EF1;
  box-shadow: 0 10px 25px rgba(75, 142, 241, 0.08);
}
.module-card h4 a {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}
.module-card h4 a:hover {
  color: #4B8EF1;
}
.module-card p {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Automation Section */
.automation-section {
  padding: 90px 0 !important;
  background-color: #ffffff !important;
}
.automation-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 25px;
  height: 100%;
  transition: all 0.3s ease;
}
.automation-card:hover {
  transform: translateY(-4px);
  border-color: #4B8EF1;
  box-shadow: 0 10px 25px rgba(75, 142, 241, 0.08);
}
.automation-icon {
  width: 50px;
  height: 50px;
  background-color: #eff6ff;
  color: #4B8EF1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.automation-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
}
.automation-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Pricing Section */
.modern-pricing-section {
  padding: 90px 0 !important;
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
}
.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 45px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  max-width: 840px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.badge-free {
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 15px;
}
.pricing-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}
.pricing-card-sub {
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 30px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  text-align: left;
  margin-bottom: 35px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 0.95rem;
}
.feature-item i {
  color: #10b981;
}

/* ==========================================
   2. UNTERSEITEN (SUBPAGES) STYLES
   ========================================== */

.subpage-hero {
  background-color: #f8fafc !important;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(75, 142, 241, 0.1) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(to right, rgba(75, 142, 241, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(75, 142, 241, 0.05) 1px, transparent 1px) !important;
  background-size: 100% 100%, 40px 40px, 40px 40px !important;
  padding: 140px 0 60px 0 !important;
  border-bottom: 1px solid #e2e8f0;
}
.subpage-title {
  font-weight: 700;
  color: #1f2937;
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.subpage-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.6;
}
.breadcrumb-nav {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 15px;
}
.breadcrumb-nav a {
  color: #4B8EF1;
  text-decoration: none;
}

.content-section {
  padding: 70px 0 !important;
  background-color: #ffffff !important;
}

.content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  margin-bottom: 30px;
}
.content-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 15px;
}
.content-card p {
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.98rem;
}

.image-preview-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  position: sticky;
  top: 100px;
}
.image-preview-card img {
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 100%;
}
.image-preview-card img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.image-caption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #64748b;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}
.feature-list li:last-child {
  border-bottom: none;
}
.feature-list i {
  color: #10b981;
  margin-top: 4px;
  font-size: 1.05rem;
}

.btn-primary-custom {
  background-color: #4B8EF1;
  color: #ffffff !important;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(75, 142, 241, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background-color: #3a7bd5;
  transform: translateY(-2px);
}

/* ==========================================
   3. GEMEINSAMER FOOTER STYLES
   ========================================== */

.simple-footer {
  background-color: #f8fafc !important;
  color: #64748b;
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e2e8f0;
}
.simple-footer h5 {
  color: #1f2937;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.simple-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.simple-footer ul li {
  margin-bottom: 8px;
}
.simple-footer a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.simple-footer a:hover {
  color: #4B8EF1;
}
.simple-footer .copyright {
  border-top: 1px solid #e2e8f0;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}
