/* 
 * Main Stylesheet für domain.com
 * Finanzaudit-Website
 */

/* ===== Variablen ===== */
:root {
  --charcoal: #1E1E24;
  --mint: #A8E6CF;
  --coral: #FF6F61;
  --sand: #FFD166;
  --slate: #4E8098;
  
  --gradient-primary: linear-gradient(135deg, var(--coral) 0%, var(--mint) 100%);
  --shadow-soft: 0 10px 30px rgba(30, 30, 36, 0.1);
  --transition-standard: all 0.3s ease-in-out;
  
  /* Abstände */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Typografie */
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Playfair Display', serif;
}

/* ===== Reset & Basis ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--charcoal);
  line-height: 1.6;
  background-color: white;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: var(--transition-standard);
}

a:hover, a:focus {
  color: var(--mint);
}

/* ===== Container & Grid ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.col-3 {
  grid-column: span 3;
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.col-9 {
  grid-column: span 9;
}

.col-12 {
  grid-column: span 12;
}

/* ===== Typografie ===== */
h1, h2, h3, h4 {
  font-family: var(--font-secondary);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.5;
}

p {
  margin-bottom: var(--space-sm);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Buttons ===== */
.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-standard);
  box-shadow: var(--shadow-soft);
}

.cta-button:hover, .cta-button:focus {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(30, 30, 36, 0.15);
}

.submit-button {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-standard);
}

.submit-button:hover, .submit-button:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(30, 30, 36, 0.1);
}

/* Button in thank-you page */
.thank-you-content .cta-button {
  margin-top: var(--space-md);
  display: inline-block;
}

/* ===== Header ===== */
.main-header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 100;
  padding: var(--space-xs) 0;
  box-shadow: var(--shadow-soft);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
}

.logo {
  text-decoration: none;
}

.logo h1 {
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
  line-height: 50px;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.desktop-nav ul li a {
  color: var(--charcoal);
  position: relative;
  padding: 0.5rem 0;
  line-height: 50px;
  display: block;
}

.desktop-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--coral);
  transition: var(--transition-standard);
}

.desktop-nav ul li a:hover::after,
.desktop-nav ul li a:focus::after {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero-section {
  padding: var(--space-xl) 0;
  background-color: rgba(168, 230, 207, 0.1);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.hero-visual {
  width: 45%;
  position: relative;
}

.hero-image {
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: auto;
}

/* ===== About Section ===== */
.about-section {
  padding: var(--space-xl) 0;
}

.image-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-standard);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-image {
  max-width: 90%;
  margin-left: auto;
}

.image-container.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Services Section ===== */
.services-section {
  padding: var(--space-xl) 0;
  background-color: rgba(78, 128, 152, 0.05);
}

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  margin: 0 auto var(--space-md);
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Benefits Section ===== */
.benefits-section {
  padding: var(--space-xl) 0;
}

.benefit-item {
  text-align: center;
  padding: var(--space-md);
  transition: var(--transition-standard);
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 111, 97, 0.1);
  color: var(--coral);
  border-radius: 50%;
  font-size: 1.5rem;
}

/* ===== Process Section ===== */
.process-section {
  padding: var(--space-xl) 0;
  background-color: rgba(255, 209, 102, 0.1);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--sand);
  top: 0;
  bottom: 0;
  left: 25px;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: var(--space-md);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  width: 50px;
  height: 50px;
  left: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.timeline-content {
  background-color: white;
  padding: var(--space-md);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: var(--space-xl) 0;
}

.testimonial-card {
  position: relative;
  background-color: white;
  padding: var(--space-md);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(30, 30, 36, 0.15);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 8px 8px 0 0;
}

.quote {
  color: var(--coral);
  font-size: 3rem;
  line-height: 0;
  margin-bottom: var(--space-sm);
  font-family: var(--font-secondary);
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(30, 30, 36, 0.1);
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: var(--space-sm);
}

.client-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.client-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== Order Form Section ===== */
.order-section {
  padding: var(--space-xl) 0;
  background-color: rgba(168, 230, 207, 0.1);
}

.contact-info {
  padding-right: var(--space-md);
}

.contact-details {
  list-style: none;
  margin-top: var(--space-md);
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.contact-details li i {
  margin-right: var(--space-sm);
  color: var(--coral);
}

.order-form {
  background-color: white;
  padding: var(--space-lg);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: var(--space-md);
}

.floating-label {
  position: relative;
}

.floating-label input,
.floating-label select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid rgba(30, 30, 36, 0.2);
  border-radius: 4px;
  font-size: 1rem;
  background-color: transparent;
  transition: var(--transition-standard);
}

.floating-label select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231E1E24' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.floating-label label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: rgba(30, 30, 36, 0.6);
  pointer-events: none;
  transition: var(--transition-standard);
}

.floating-label input:focus,
.floating-label input:not(:placeholder-shown),
.floating-label select:focus,
.floating-label select:not([value=""]):valid {
  border-color: var(--coral);
  outline: none;
  padding-top: 20px;
  padding-bottom: 0;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label select:not([value=""]):valid + label {
  top: 30%;
  transform: translateY(-100%) scale(0.8);
  color: var(--coral);
}

.floating-label input::placeholder {
  color: transparent;
}

.checkbox {
  display: flex;
  align-items: flex-start;
}

.checkbox input {
  margin-right: 10px;
  margin-top: 4px;
}

.checkbox label {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ===== Footer ===== */
.main-footer {
  background-color: var(--charcoal);
  color: white;
  padding: var(--space-lg) 0;
}

.footer-logo h2 {
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-sm);
}

.main-footer h3 {
  color: var(--sand);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.company-desc {
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-list, .legal-links {
  list-style: none;
}

.contact-list li, .legal-links li {
  margin-bottom: var(--space-xs);
}

.contact-list li i {
  margin-right: 10px;
  color: var(--coral);
}

.legal-links a {
  color: white;
  opacity: 0.8;
  transition: var(--transition-standard);
}

.legal-links a:hover, .legal-links a:focus {
  opacity: 1;
  color: var(--mint);
}

.copyright {
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== Cookie Popup ===== */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: var(--space-sm);
}

.cookie-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-popup-content p {
  margin-bottom: 0;
}

.cookie-button {
  background-color: var(--coral);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-standard);
}

.cookie-button:hover {
  background-color: var(--mint);
}
