/* Deutsche Farbpalette */
:root {
  --primary: #DD0000;       /* Rot (Deutsch) */
  --secondary: #000000;     /* Schwarz (Deutsch) */
  --accent: #FFCC00;        /* Gold (Deutsch) */
  --light: #f0f0f0;         /* Heller Hintergrund */
  --dark: #1a1a1a;          /* Dunkler Text */
  --white: #ffffff;         /* Weiß */
  --gray: #555555;          /* Grau */
  --gradient-dark: linear-gradient(135deg, var(--secondary), #333333);
}

/* Basisstil */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fira Sans', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typografie */
h1, h2, h3, h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 3px;
  width: 60px;
  background: var(--primary);
}

.text-center {
  text-align: center;
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

p {
  margin-bottom: 1.2rem;
}

/* Header */
.site-header {
  background-color: var(--gradient-dark);
  color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style-type: none;
  gap: 25px;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.main-nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.main-nav a:hover:after {
  width: 100%;
}

/* Mobile Menü */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 5px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

/* Hero-Bereich */
.hero {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--light);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

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

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

/* Funktionen-Bereich */
.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--secondary);
  color: var(--white);
}

.section-dark h2:after {
  background: var(--accent);
}

/* Funktionskarten */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(221,0,0,0.05));
}

.feature-content {
  padding: 25px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* So funktioniert es */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
}

.step {
  flex-basis: calc(33.333% - 30px);
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  background: var(--primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.step h3 {
  margin-bottom: 15px;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.02);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-content {
  padding: 0 20px;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 20px;
}

/* CTA-Bereich */
.cta {
  text-align: center;
  margin-top: 40px;
}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex-basis: 48%;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo svg {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.footer-nav {
  margin: 20px 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.footer-nav li {
  margin-right: 20px;
  margin-bottom: 10px;
}

.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-keywords {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 20px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .steps-container {
    flex-direction: column;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .step {
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .main-nav.active {
    max-height: 300px;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }
  
  .main-nav li {
    margin-bottom: 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-column {
    flex-basis: 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero {
    padding: 70px 0 60px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
}
