/* Hero Section Styles */
html {
  background-color: #fff !important;
}

:root {
  --hero-background-dark: #fff;
  --hero-background-light: #fff;
  --hero-background-black: #000;
  --text-light: #fff;
  --text-dark: #1d1d1f;
  --button-primary: #0071e3;
  --button-primary-hover: #0077ed;
  --button-secondary-border: #424245;
  --button-secondary-border-light: #d2d2d7;
  --button-secondary-hover: rgba(0, 0, 0, 0.1);
  --button-secondary-hover-light: rgba(0, 119, 237, 0.1);
  --section-max-width: 980px;
  
  /* Support-specific colors */
  --support-background: #f5f5f7;
  --support-card-background: #ffffff;
  --support-border: #d2d2d7;
  --support-text-secondary: #86868b;
  --support-hover: #f0f0f0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #fff !important;
}

/* Support Main */
.support-main {
  background-color: #fff;
}

/* Support Hero Section */
.support-hero {
  background-color: var(--support-background);
  padding: 80px 0 60px;
  text-align: center;
}

.support-container {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.support-hero h1 {
  font-size: 56px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
  line-height: 1.07143;
  color: var(--text-dark);
}

.support-hero p {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 40px;
  letter-spacing: 0.004em;
  color: var(--support-text-secondary);
  line-height: 1.2857;
}

/* Search Bar */
.search-container {
  max-width: 600px;
  margin: 0 auto;
}

.search-bar {
  position: relative;
  background: var(--support-card-background);
  border-radius: 12px;
  border: 1px solid var(--support-border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-bar:focus-within {
  border-color: var(--button-primary);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--support-text-secondary);
  pointer-events: none;
}

.search-bar input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: none;
  outline: none;
  font-size: 17px;
  background: transparent;
  color: var(--text-dark);
}

.search-bar input::placeholder {
  color: var(--support-text-secondary);
}

/* Search No Results Message */
.search-no-results {
  text-align: center;
  padding: 40px 20px;
  margin-top: 32px;
}

.search-no-results h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-dark);
  letter-spacing: -0.007em;
}

.search-no-results p {
  font-size: 17px;
  color: var(--support-text-secondary);
  margin: 0;
  line-height: 1.47059;
}

/* Search highlight effect */
.search-bar input:focus {
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* Keyboard shortcut hint */
.search-container::after {
  content: 'Tipp: Drücken Sie Strg+K (oder Cmd+K) zum schnellen Suchen';
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--support-text-secondary);
  margin-top: 8px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .search-container::after {
    display: none;
  }
}

/* Support Categories */
.support-categories {
  padding: 80px 0;
  background-color: #fff;
}

.support-categories h2 {
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 48px;
  text-align: center;
  color: var(--text-dark);
  letter-spacing: -0.003em;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.category-card {
  background: var(--support-card-background);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--support-border);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.category-icon {
  margin-bottom: 20px;
}

.category-icon svg {
  width: 40px;
  height: 40px;
  color: var(--button-primary);
}

.category-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-dark);
  letter-spacing: -0.007em;
}

.category-card p {
  font-size: 17px;
  color: var(--support-text-secondary);
  margin: 0 0 20px;
  line-height: 1.47059;
}

.category-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-card ul li {
  margin-bottom: 8px;
}

.category-card ul li a {
  color: var(--button-primary);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.33337;
  font-weight: 400;
  transition: color 0.3s ease;
}

.category-card ul li a:hover {
  color: var(--button-primary-hover);
  text-decoration: underline;
}

/* Contact Section */
.support-contact {
  padding: 80px 0;
  background-color: var(--support-background);
}

.support-contact h2 {
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 48px;
  text-align: center;
  color: var(--text-dark);
  letter-spacing: -0.003em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--support-card-background);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--support-border);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  margin-bottom: 20px;
}

.contact-icon svg {
  width: 48px;
  height: 48px;
  color: var(--button-primary);
}

.contact-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-dark);
  letter-spacing: -0.007em;
}

.contact-card p {
  font-size: 17px;
  color: var(--support-text-secondary);
  margin: 0 0 24px;
  line-height: 1.47059;
}

.contact-button {
  display: inline-block;
  background: var(--button-primary);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background: var(--button-primary-hover);
  transform: scale(1.02);
}

/* FAQ Section */
.support-faq {
  padding: 80px 0;
  background-color: #fff;
}

.support-faq h2 {
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 48px;
  text-align: center;
  color: var(--text-dark);
  letter-spacing: -0.003em;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--support-border);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--button-primary);
}

.faq-question span {
  flex: 1;
  margin-right: 16px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--support-text-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 17px;
  color: var(--support-text-secondary);
  line-height: 1.47059;
  margin: 0;
}

/* Status Section */
.support-status {
  padding: 60px 0;
  background-color: var(--support-background);
}

.status-card {
  background: var(--support-card-background);
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--support-border);
  max-width: 600px;
  margin: 0 auto;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-operational {
  background-color: #34c759;
}

.status-indicator span {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
}

.status-link {
  color: var(--button-primary);
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.status-link:hover {
  color: var(--button-primary-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
  .support-hero h1 {
    font-size: 40px;
  }
  
  .support-hero p {
    font-size: 21px;
  }
  
  .support-categories h2,
  .support-contact h2,
  .support-faq h2 {
    font-size: 32px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card,
  .contact-card {
    padding: 24px;
  }
  
  .support-hero,
  .support-categories,
  .support-contact,
  .support-faq {
    padding: 60px 0;
  }
  
  .status-card {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .support-hero h1 {
    font-size: 32px;
  }
  
  .support-hero p {
    font-size: 19px;
  }
  
  .support-categories h2,
  .support-contact h2,
  .support-faq h2 {
    font-size: 28px;
  }
  
  .search-bar input {
    font-size: 16px;
    padding: 14px 14px 14px 44px;
  }
  
  .search-icon {
    left: 14px;
    width: 18px;
    height: 18px;
  }
}

/* Existing styles from original file */
.hero-section {
  width: 100%;
  overflow: hidden;
  padding: 44px 0;
}

.hero-section.dark {
  background-color: var(--hero-background-dark);
  color: var(--text-dark);
}

.hero-section.black {
  background-color: var(--hero-background-black);
  color: var(--text-light);
}

.hero-section.light {
  background: linear-gradient(300deg, #FF7B42, #FF4B78, #A34FFF, #2F95FF);
  background-size: 240% 240%;
  animation: gradient-animation 20s ease infinite;
  color: var(--text-light);
  position: relative;
}

.hero-section.light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 1;
}

.hero-section.light .hero-container {
  position: relative;
  z-index: 2;
}

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

.hero-container {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-card {
  text-align: center;
  padding: 40px 0;
}

/* Spezielle Anpassung für die Doc Intelligence Section */
.hero-section.light .hero-card {
  padding: 180px 0;
}

/* Spezielle Anpassung für die schwarze Section */
.hero-section.black .hero-card {
  padding: 100px 0;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  line-height: 1.07143;
}

.hero-content h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 40px;
  letter-spacing: 0.004em;
}

.hero-image {
  margin: 0 auto 40px;
  max-width: 100%;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-section.light .hero-image img {
  filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
}

.hero-icon {
  margin: 0 auto 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-icon svg {
  width: 56px;
  height: 56px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  font-size: 17px;
  line-height: 1.17648;
  font-weight: 400;
  letter-spacing: -0.022em;
  border-radius: 980px;
  padding: 12px 22px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Dark theme buttons */
.button.primary {
  background-color: var(--button-primary);
  color: var(--text-light);
}

.button.primary:hover {
  background-color: var(--button-primary-hover);
}

.button.secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--button-secondary-border-light);
}

.button.secondary:hover {
  background-color: var(--button-secondary-hover-light);
}

/* Light theme buttons */
.button.primary-dark {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.button.primary-dark:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.button.secondary-dark {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--button-secondary-border-light);
}

.button.secondary-dark:hover {
  background-color: var(--button-secondary-hover-light);
}

.hero-note {
  font-size: 14px;
  line-height: 1.42859;
  letter-spacing: -0.016em;
  color: #86868b;
  margin: 0;
}

.hero-note.dark {
  color: rgba(255, 255, 255, 0.8);
}

.hero-note.light {
  color: rgba(255, 255, 255, 0.8);
}

.hero-note-orange {
  font-size: 14px;
  line-height: 1.42859;
  letter-spacing: -0.016em;
  color: rgb(255, 128, 0);
  margin: 0 0 25px 0;
}

/* Buttons für schwarzen Hintergrund */
.button.secondary-light {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button.secondary-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 40px;
  }
  
  .hero-content h2 {
    font-size: 24px;
  }
  
  .hero-buttons {
    gap: 20px;
  }
  
  .button {
    font-size: 14px;
    padding: 12px 16px;
    min-width: 140px;
  }
}

@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content h2 {
    font-size: 19px;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .button {
    width: 100%;
    max-width: 280px;
  }
}

/* Split View Section */
.split-view {
  display: flex;
  width: 100%;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
}

.split-item {
  flex: 1;
  min-height: 580px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.split-item.dark {
  background-color: #000;
  color: var(--text-light);
}

.split-item.light {
  background-color: var(--hero-background-light);
  color: var(--text-dark);
}

.split-item.black {
  background-color: var(--hero-background-black);
  color: var(--text-light);
}

.split-content {
  padding: 0 20px;
  max-width: 400px;
  margin: 0 auto;
}

/* Icon Styles */
.split-icon {
  margin-bottom: 25px;
}

.split-icon svg {
  width: 56px;
  height: 56px;
}

.split-content h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.split-content h3 {
  font-size: 21px;
  line-height: 1.2381;
  font-weight: 400;
  letter-spacing: .016em;
  margin: 0 0 30px;
}

.split-buttons {
  display: flex;
  justify-content: center;
  gap: 35px;
}

.split-item.dark .button.primary {
  background-color: #fff;
  color: #000;
}

.split-item.dark .button.primary:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.split-item.dark .button.secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.split-item.dark .button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles für Split View */
@media (max-width: 768px) {
  .split-view {
    flex-direction: column;
  }

  .split-item {
    min-height: 500px;
  }

  .split-content h2 {
    font-size: 32px;
  }

  .split-content h3 {
    font-size: 19px;
  }

  .split-buttons {
    gap: 20px;
    padding: 0 16px;
  }

  .split-buttons .button {
    padding: 12px 16px;
    font-size: 14px;
    min-width: 140px;
  }
}

@media (max-width: 380px) {
  .split-buttons {
    flex-direction: column;
    align-items: center;
  }

  .split-buttons .button {
    width: 100%;
    max-width: 280px;
  }
}

/* Newsletter Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: #ffffff;
  margin: 15% auto;
  padding: 30px;
  border-radius: 14px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-dark);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.close-modal {
  color: #888;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  width: 36px;
  height: 36px;
  background-color: #f2f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-top: -5px;
  margin-right: -5px;
}

.close-modal:hover {
  color: #333;
  background-color: #e5e5e5;
}

.close-modal svg {
  width: 22px;
  height: 22px;
}

.modal-content h2 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
}

.modal-content p {
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.4;
}

.modal-note {
  font-size: 12px;
  color: #86868b;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: var(--button-primary);
  outline: none;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 20% auto;
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .modal-content {
    width: 95%;
    padding: 15px;
  }
  
  .modal-content h2 {
    font-size: 20px;
  }
}

.success-message {
  color: #34c759;
  font-weight: 500;
  text-align: center;
  font-size: 18px;
  padding: 15px 0;
}

/* Spezielle Anpassung für den Abonnieren-Button im Modal */
#newsletter-form .button.primary {
  border: none;
}

/* Simple Section */
.simple-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 2rem;
}

.simple-container {
  max-width: 600px;
  text-align: center;
}

.simple-image {
  margin-bottom: 2rem;
}

.simple-image img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.simple-image img:hover {
  transform: scale(1.05);
}

.simple-content h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
}

.simple-content p {
  font-size: 1.25rem;
  color: #86868b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(108deg, rgb(8, 148, 255), rgb(201, 89, 221) 34%, rgb(255, 46, 84) 68%, rgb(255, 144, 4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.simple-content .button {
  margin: 0.5rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .simple-image img {
    width: 80px;
    height: 80px;
  }
  
  .simple-content h1 {
    font-size: 2rem;
  }
  
  .simple-content p {
    font-size: 1rem;
  }
  
  .simple-content .button {
    display: block;
    margin: 0.75rem auto;
    width: fit-content;
  }
}
