/* 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;
}

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;
}

.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;
  }
}
