/* 
Main Stylesheet for FinanzWeg GmbH
Colors:
- Primary background: #f6f9fc (light blue)
- Accent colors: #ff6b6b (coral), #2f2f8c (indigo)
- Text: #212529 (dark gray), #1a1a1a (headlines)
*/

/* Global Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #212529;
  background-color: #f6f9fc;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2f2f8c;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #ff6b6b;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 0;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ffb26b);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(90deg, #ff6b6b, #ffb26b);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 7px 20px rgba(255, 107, 107, 0.6);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: #2f2f8c;
  border: 2px solid #2f2f8c;
}

.btn-secondary:hover {
  background-color: #2f2f8c;
  color: white;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-content p {
  flex: 1 1 60%;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Header & Navigation */
.site-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: block;
}

.logo-svg {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #1a1a1a;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu li a {
  font-weight: 600;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6b6b;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background-color: white;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* About Section */
.about {
  background-color: #f6f9fc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Services Section */
.services {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #f6f9fc;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 1.5rem;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffb26b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.service-icon .icon {
  width: 40px;
  height: 40px;
  fill: white;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Advantages Section */
.advantages {
  background-color: #f6f9fc;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.advantage-card {
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.advantage-number {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 5rem;
  font-weight: bold;
  color: rgba(47, 47, 140, 0.05);
  z-index: 0;
}

.advantage-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.advantage-card p {
  position: relative;
  z-index: 1;
}

/* Testimonials Section */
.testimonials {
  background-color: #2f2f8c;
  color: white;
  padding: 6rem 0;
}

.testimonials h2 {
  color: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0 auto;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  text-align: center;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff6b6b;
}

.client-details {
  text-align: left;
}

.client-info h4 {
  color: white;
  margin-bottom: 0.25rem;
}

.client-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Remove old testimonial carousel styles */
.testimonial-carousel,
.testimonial-slide,
.carousel-dots,
.dot {
  display: none;
}

/* Pricing Section */
.pricing {
  background-color: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background-color: #f6f9fc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.pricing-card.featured {
  transform: scale(1.05);
  background-color: white;
  box-shadow: 0 15px 40px rgba(47, 47, 140, 0.1);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing-header {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffb26b 100%);
  padding: 2rem;
  text-align: center;
  color: white;
}

.pricing-header h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
}

.price span {
  font-size: 1rem;
  font-weight: normal;
}

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: "✓";
  color: #ff6b6b;
  margin-right: 0.5rem;
  font-weight: bold;
}

.pricing-features li.not-included {
  color: #aaa;
  text-decoration: line-through;
}

.pricing-features li.not-included::before {
  content: "✕";
  color: #aaa;
}

.pricing-footer {
  padding: 0 2rem 2rem;
  text-align: center;
}

/* Contact Section */
.contact {
  background-color: #f6f9fc;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2f2f8c;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.form-group.checkbox input {
  width: auto;
  margin: 0;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.map-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
  background-color: #1a1a1a;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h3,
.footer-contact h4,
.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact a {
  color: #ff6b6b;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #ff6b6b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Thank You Page */
.thank-you {
  min-height: calc(100vh - 400px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.thank-you h1 {
  margin-bottom: 1.5rem;
}

.thank-you p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  max-width: 600px;
  text-align: center; /* Ensure text stays centered */
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content h2::after {
  left: 0;
  transform: none;
}

.legal-content p {
  margin-bottom: 1.5rem;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-image {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
    max-width: 600px;
    margin: 0 auto;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
    width: 100%;
    overflow-x: hidden;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu li a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-content p {
    flex: 1 1 100%;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  section {
    padding: 2rem 0;
  }
  
  .service-card,
  .advantage-card,
  .pricing-card {
    padding: 1.5rem;
  }

  .client-info {
    flex-direction: column;
    text-align: center;
  }

  .client-details {
    text-align: center;
  }
} 