/* Main Stylesheet for VertrauensMarkt */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;700&display=swap');

/* CSS Variables */
:root {
  --primary: #2A0E61;
  --secondary: #FF6B6B;
  --accent: #00E1D9;
  --background: #121212;
  --card-bg: #1E1E1E;
  --text: #F5F5F5;
  --text-secondary: #ABABAB;
  --highlight: #8A4FFF;
  --border: #333333;
  --success: #4EE99A;
}

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

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

img {
  width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

ul li, ol li {
  list-style-type: none;
}

button, .btn {
  background-color: var(--accent);
  color: var(--background);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, .btn:hover {
  background-color: var(--highlight);
  transform: translateY(-2px);
}

section {
  padding: 4rem 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.site-header {
  background-color: rgba(18, 18, 18, 0.95);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 1rem;
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--card-bg);
  padding: 6rem 2rem 2rem;
  transition: all 0.4s ease;
  z-index: 1000;
}

.main-nav.active {
  right: 0;
}

.nav-list {
  list-style: none;
}

.nav-list li {
  margin-bottom: 1.5rem;
}

.nav-list a {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.nav-list a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--background) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/banner-1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.hero-cta {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--text);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background-color: var(--highlight);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.row {
  display: flex;
  flex-direction: row;
  gap: 20px
}

/* Diagonal Sections */
.diagonal-section {
  position: relative;
  padding: 6rem 1rem;
  overflow: hidden;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-color: inherit;
  transform: skewY(-3deg);
  transform-origin: top right;
}

.diagonal-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-color: inherit;
  transform: skewY(3deg);
  transform-origin: bottom left;
}

.diagonal-section:nth-child(odd) {
  background-color: var(--card-bg);
}

.diagonal-section:nth-child(even) {
  background-color: var(--background);
}

.diagonal-content {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  color: var(--accent);
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--secondary), var(--accent));
}

/* Card Styles */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  transition: all 0.3s ease;
}

.card-link:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

/* Features Section */
.features {
  padding: 4rem 1rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.feature-text {
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--background) !important;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 225, 217, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--accent);
  color: var(--background);
  font-weight: 600;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--highlight);
}

/* About Page */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-text h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.mission-values {
  margin-top: 3rem;
}

.value-item {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.value-item h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-info {
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: 1rem;
  min-width: 30px;
}

.contact-details h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-details p {
  color: var(--text-secondary);
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  background-color: var(--card-bg);
  padding: 3rem 1rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-links h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--accent);
  margin-right: 10px;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--card-bg);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  display: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cookie-text {
  margin-bottom: 1.5rem;
}

.cookie-text h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.cookie-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-all {
  background-color: var(--accent);
  color: var(--background);
  border: none;
}

.accept-all:hover {
  background-color: var(--success);
}

.reject-all {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--text-secondary);
}

.reject-all:hover {
  background-color: var(--text-secondary);
  color: var(--background);
}

.cookie-settings {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.cookie-settings:hover {
  background-color: var(--accent);
  color: var(--background);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  display: none;
}

.cookie-modal-content {
  background-color: var(--card-bg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 2rem;
}

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

.cookie-modal-title {
  color: var(--accent);
  margin: 0;
}

.cookie-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-modal-body {
  margin-bottom: 2rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-category-title {
  color: var(--text);
  margin: 0;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

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

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

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

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

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

.cookie-category-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cookie-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.save-preferences {
  background-color: var(--accent);
  color: var(--background);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-preferences:hover {
  background-color: var(--success);
}

/* Thank You Page */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  padding: 2rem;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thank-you h1 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.back-home {
  display: inline-block;
  background-color: var(--accent);
  color: var(--background);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-home:hover {
  background-color: var(--highlight);
  transform: translateY(-5px);
}

/* Animated Gradient Button */
.gradient-btn {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.gradient-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--highlight), var(--accent), var(--highlight), var(--secondary));
  background-size: 400% 400%;
  z-index: -1;
  transition: all 0.5s ease;
}

.gradient-btn:hover::before {
  animation: gradient 5s ease infinite;
}

.gradient-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Diagonal CTA Section */
.diagonal-cta {
  position: relative;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 100%);
  transform: skewY(-3deg);
  margin: 4rem 0;
}

.diagonal-cta-content {
  transform: skewY(3deg);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.diagonal-cta h2 {
  color: var(--text);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.diagonal-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Media Queries */
@media (min-width: 576px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .card-grid,
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .cookie-text {
    margin-bottom: 0;
    margin-right: 1rem;
  }
}

@media (min-width: 768px) {
  section {
    padding: 6rem 2rem;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
  }
  
  .nav-list {
    display: flex;
    align-items: center;
  }
  
  .nav-list li {
    margin: 0 0 0 2rem;
  }
  
  .nav-list a {
    font-size: 1rem;
    padding: 0;
  }
  
  .nav-list a:hover {
    transform: none;
  }
  
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-in-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.text-secondary {
  color: var(--secondary);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }