/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #1a3a5c;
  --color-secondary: #2d6a9f;
  --color-accent: #e8943a;
  --color-light: #f4f7fa;
  --color-dark: #0d1b2a;
  --color-text: #2c3e50;
  --color-text-light: #5a6c7d;
  --color-white: #ffffff;
  --color-border: #dce4ec;
  --color-success: #27ae60;
  --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 8px 40px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark);
}

h1 { font-size: 2.75rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--color-accent); }

img, svg { max-width: 100%; height: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

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

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

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

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

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-accent:hover {
  background: #d4832e;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo svg { width: 42px; height: 42px; }

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

.nav-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Navigation */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--color-white);
    padding: 24px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .nav-menu.active { transform: translateX(0); }

  .nav-menu a {
    padding: 16px 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .menu-toggle.active span:nth-child(2) { opacity: 0; }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
}

/* Main Content Offset */
main { padding-top: 90px; }

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text { flex: 1; }

.hero-text h1 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-visual {
  flex: 0 0 400px;
  display: flex;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 380px;
}

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

@media (max-width: 900px) {
  .hero { padding: 60px 0 80px; }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 { font-size: 2.25rem; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-visual { flex: 0 0 auto; order: -1; }
  .hero-visual svg { max-width: 280px; }
  .hero-buttons { justify-content: center; }
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-light { background: var(--color-light); }
.section-dark { background: var(--color-dark); color: var(--color-white); }
.section-dark h2, .section-dark h3 { color: var(--color-white); }
.section-accent { background: var(--color-secondary); color: var(--color-white); }
.section-accent h2 { color: var(--color-white); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.section-dark .section-header p { color: rgba(255,255,255,0.8); }

/* Cards */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  flex: 1 1 300px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.card h3 { margin-bottom: 12px; }
.card p { color: var(--color-text-light); margin-bottom: 0; }

.card-featured {
  border: 2px solid var(--color-accent);
  position: relative;
}

.card-featured::before {
  content: 'Beliebt';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 4px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Service Cards */
.service-card {
  flex: 1 1 340px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.service-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 24px;
  color: var(--color-white);
}

.service-card-header h3 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.service-card-body { padding: 24px; }

.service-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.service-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-features li:last-child { border-bottom: none; }

.service-features svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* Feature Blocks */
.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}

.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }

.feature-content { flex: 1; }
.feature-visual { flex: 0 0 380px; }
.feature-visual svg { width: 100%; }

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse {
    flex-direction: column;
    gap: 40px;
  }
  .feature-visual { flex: 0 0 auto; }
}

/* Statistics */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.stat-item {
  flex: 1 1 200px;
  text-align: center;
  padding: 30px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
}

.section-dark .stat-number { color: var(--color-accent); }

.stat-label {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.section-dark .stat-label { color: rgba(255,255,255,0.8); }

/* Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonial {
  flex: 1 1 350px;
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 4rem;
  color: var(--color-secondary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.2rem;
}

.testimonial-name { font-weight: 600; }
.testimonial-role { font-size: 0.9rem; color: var(--color-text-light); }

/* Quote Block */
.quote-block {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 60px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
}

.quote-block p {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 24px;
}

.quote-author {
  font-weight: 600;
  opacity: 0.9;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.process-step {
  flex: 1 1 250px;
  text-align: center;
  padding: 30px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--color-light); }

.faq-question svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--color-text-light);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Benefits List */
.benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.benefit-item {
  flex: 1 1 280px;
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--color-secondary);
}

/* Trust Indicators */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.trust-badge svg {
  width: 60px;
  height: 60px;
  color: var(--color-secondary);
}

.trust-badge span {
  font-weight: 600;
  text-align: center;
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.industry-tag {
  padding: 12px 24px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.industry-tag:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Contact Info */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-main { flex: 2 1 400px; }
.contact-sidebar { flex: 1 1 300px; }

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

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-list li:last-child { border-bottom: none; }

.contact-info-list svg {
  width: 28px;
  height: 28px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-card {
  background: var(--color-light);
  padding: 32px;
  border-radius: var(--radius-md);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 { color: var(--color-white); margin-bottom: 16px; }
.page-header p { opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-content h2 {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

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

.legal-content li { margin-bottom: 8px; }

/* Thank You Page */
.thank-you-content {
  text-align: center;
  padding: 100px 24px;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  color: var(--color-success);
}

/* Footer */
footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col { flex: 1 1 200px; }

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-logo svg { width: 36px; height: 36px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.active { transform: translateY(0); }

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text { flex: 1 1 400px; }
.cookie-text p { margin-bottom: 0; font-size: 0.95rem; }
.cookie-text a { color: var(--color-accent); }

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

.cookie-btn {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--color-accent);
  color: var(--color-white);
}

.cookie-btn-accept:hover { background: #d4832e; }

.cookie-btn-reject {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-btn-settings {
  background: transparent;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cookie-modal-header h3 { margin-bottom: 0; }

.cookie-modal-close {
  width: 36px;
  height: 36px;
  background: var(--color-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.cookie-modal-close:hover { background: var(--color-border); }

.cookie-option {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-option:last-of-type { border-bottom: none; }

.cookie-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-option h4 { margin-bottom: 4px; }
.cookie-option p { font-size: 0.9rem; color: var(--color-text-light); margin-bottom: 0; }

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-border);
  border-radius: 28px;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-secondary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.animate-on-scroll.animated {
  animation: fadeInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none; }
  main { padding-top: 0; }
  section { padding: 30px 0; }
}
