/*
Theme Name: Notarzt24
Theme URI: https://notarzt24.app
Author: Notarzt24 / Changemed GmbH
Description: Professionelles B2B Telemedizin Theme für Notarzt24
Version: 1.0
License: Private
Text Domain: notarzt24
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink: #EC00C7;
  --orange: #FC894E;
  --black: #0D0D0D;
  --white: #FFFFFF;
  --gray-light: #F7F7F7;
  --gray-mid: #E8E8E8;
  --gray-text: #555555;
  --gradient: linear-gradient(135deg, #EC00C7 0%, #FC894E 100%);
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1200px;
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.label-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--gray-light);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
}

.btn--primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(236, 0, 199, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100vh - 72px);
}

.hero-content {
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-text);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--black);
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--gray-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}

.hero-tag::before {
  content: '✓';
  font-size: 11px;
  color: var(--pink);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== HERO HEART VISUAL ===== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 500px;
}

.heart-wrapper {
  position: relative;
  width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart-glow-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(236, 0, 199, 0.12);
  animation: ring-pulse 3s ease-in-out infinite;
}

.heart-glow-ring:nth-child(2) {
  width: 360px;
  height: 360px;
  border-color: rgba(252, 137, 78, 0.12);
  animation-delay: 0.5s;
}

.heart-glow-ring:nth-child(3) {
  width: 300px;
  height: 300px;
  border-color: rgba(236, 0, 199, 0.08);
  animation-delay: 1s;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.6; }
}

.heart-img {
  position: relative;
  z-index: 2;
  width: 340px;
  height: 340px;
  object-fit: contain;
  animation: heartbeat 2.8s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(236, 0, 199, 0.25));
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.04); }
  28% { transform: scale(1); }
  42% { transform: scale(1.025); }
  56% { transform: scale(1); }
}

/* ===== EKG LINE ===== */
.ekg-container {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}

.ekg-svg {
  width: 200%;
  height: 60px;
  animation: ekg-scroll 3s linear infinite;
}

@keyframes ekg-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--orange);
  padding: 40px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== SERVICES ===== */
.section-header {
  max-width: 560px;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 12px 0 20px;
  color: var(--black);
}

.section-desc {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gray-mid);
  border: 2px solid var(--gray-mid);
}

.service-card {
  background: var(--white);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gradient);
  transition: height 0.4s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  background: var(--gray-light);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 36px;
  height: 36px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-text {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.75;
}

/* ===== TECH SECTION ===== */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-content {}

.tech-visual {
  position: relative;
}

.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.tech-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
}

.tech-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-list li span {
  padding-top: 1px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-mid);
}

.process-step:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step-text {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-mid);
  border: 2px solid var(--gray-mid);
  margin-top: 56px;
}

.why-card {
  background: var(--white);
  padding: 40px 36px;
}

.why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
}

.why-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-text {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ===== FUTURE ===== */
.future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gray-mid);
  border: 2px solid var(--gray-mid);
  margin-top: 48px;
}

.future-card {
  background: var(--black);
  padding: 40px 44px;
}

.future-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.future-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.future-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.future-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-text);
  margin-bottom: 4px;
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: 15px;
  color: var(--black);
}

.contact-detail-text a:hover {
  color: var(--pink);
}

/* ===== FORM ===== */
.contact-form {
  background: var(--gray-light);
  padding: 48px 44px;
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--pink);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  padding: 16px 20px;
  border-radius: 3px;
  font-size: 15px;
  color: #166534;
  margin-top: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--orange);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 36px;
  margin-bottom: 20px;
  opacity: 1;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
    min-height: 320px;
  }

  .heart-wrapper {
    width: 280px;
    height: 280px;
  }

  .heart-img {
    width: 220px;
    height: 220px;
  }

  .heart-glow-ring { width: 260px; height: 260px; }
  .heart-glow-ring:nth-child(2) { width: 220px; height: 220px; }
  .heart-glow-ring:nth-child(3) { width: 180px; height: 180px; }

  .hero-content { padding: 48px 0 60px; }
  .hero-title { font-size: 38px; }

  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat-item { padding: 0 16px; }
  .stat-number { font-size: 32px; }

  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr; }
  .future-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    border-bottom: 1px solid var(--gray-mid);
    gap: 20px;
    z-index: 999;
  }
}
