/* FiskalKlarheit GmbH - Main Stylesheet */
:root {
  --color-indigo: #4B0082;
  --color-amber: #FFBF00;
  --color-cream: #FFF8F0;
  --color-graphite: #2B2B2B;
  --font-body: 'IBM Plex Sans', Arial, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-graphite);
  font-size: 16px;
  line-height: 1.6;
  padding-top: 5rem;
}

a {
  color: var(--color-indigo);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--color-amber);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  color: var(--color-indigo);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-amber);
  margin: 1rem auto;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--color-indigo);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.btn:hover, .btn:focus {
  background-color: var(--color-amber);
  color: var(--color-graphite);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--color-amber);
  color: var(--color-graphite);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--color-indigo);
  color: white;
}

/* Header styling */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  margin-left: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-indigo);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-amber);
  transition: var(--transition);
}

.nav-link:hover:after, .nav-link:focus:after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-indigo);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--color-indigo);
  color: white;
  text-align: center;
  padding: 6rem 0;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services {
  background-color: var(--color-cream);
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2rem;
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-image {
  height: 180px;
  overflow: hidden;
  border-radius: 6px;
  margin: -2rem -2rem 1.5rem -2rem;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}


.service-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Benefits Section */
.benefits {
  background-color: white;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  color: var(--color-indigo);
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* Why Us Section */
.why-us {
  background-color: var(--color-indigo);
  color: white;
}

.why-us .section-title {
  color: white;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 4rem;
  color: var(--color-amber);
  opacity: 0.5;
  font-family: Georgia, serif;
}

.testimonial-text {
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-amber);
}

/* Form Section */
.contact {
  background-color: var(--color-cream);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-indigo);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
  transition: var(--transition);
  font-family: var(--font-body);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-amber);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,191,0,0.2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-checkbox input {
  margin-top: 0.3rem;
  margin-right: 0.5rem;
}

/* FAQ Section */
.faq {
  background-color: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: var(--color-indigo);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.faq-answer {
  color: var(--color-graphite);
}

/* Footer */
.footer {
  background-color: var(--color-graphite);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  color: var(--color-amber);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  color: var(--color-amber);
}

.footer-contact {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer-contact-icon {
  margin-right: 0.5rem;
  color: var(--color-amber);
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: #999;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-popup p {
  margin-bottom: 0;
}

.cookie-popup-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 15rem 0;
}
.thank-you-content{
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding:2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.thank-you h1 {
  color: var(--color-indigo);
  margin-bottom: 1.5rem;
}

/* Policy Pages */
.policy {
  padding: 3rem 0;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.policy h2 {
  margin-top: 2rem;
}

.policy ul, .policy ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 4rem;
  }
  .benefits-list, .testimonials{
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  .nav-item {
    margin: 0;
    margin-bottom: 1.5rem;
  }
  
  #nav-toggle:checked ~ .nav .nav-list {
    left: 0;
  }
  
  #nav-toggle:checked ~ .header .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  #nav-toggle:checked ~ .header .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  #nav-toggle:checked ~ .header .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 3.5rem;
  }
  
  .header {
    padding: 0.3rem 0;
  }
  
  .logo img {
    height: 32px;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hamburger span {
    width: 20px;
  }
  
  .form-container {
    padding: 1.5rem;
  }
} 