/* DeepProfil Website — gemeinsame Styles */

:root {
  --color-d: #E63946;
  --color-i: #F4A02D;
  --color-s: #52B788;
  --color-g: #3B82F6;
  --color-text: #1F2937;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;
  --color-bg: #FAFAFC;
  --color-bg-dark: #0F172A;
  --color-bg-dark-2: #1E293B;
  --color-card: #FFFFFF;
  --color-border: #E5E7EB;
  --max-width: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.7; }

/* Header */
header.site-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-card);
}
header .container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.logo-icon,
.logo-icon-sm {
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
}
.logo-icon-sm { border-radius: 6px; }
header nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--color-text-secondary);
}
header nav a:hover { color: var(--color-text); opacity: 1; }

/* Hero */
.hero {
  padding: 80px 20px 100px;
  background: linear-gradient(135deg, var(--color-bg-dark-2), var(--color-bg-dark));
  color: white;
  text-align: center;
}
.hero .container {
  max-width: 720px;
  margin: 0 auto;
}
.hero .logo-large {
  margin: 0 auto 24px;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
}
.hero .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero p.lead {
  font-size: 19px;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero .cta {
  display: inline-flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}
.appstore-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.appstore-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.24);
  opacity: 1;
}
.appstore-badge img,
.appstore-badge svg {
  display: block;
  border-radius: 14px;
}

/* Section */
section {
  padding: 80px 20px;
}
section .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
section .section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}
section h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 16px;
}
section .section-lead {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto 48px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: var(--color-card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid var(--color-border);
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
  color: white;
}
.card.d .icon { background: var(--color-d); }
.card.i .icon { background: var(--color-i); }
.card.s .icon { background: var(--color-s); }
.card.g .icon { background: var(--color-g); }
.card.green .icon { background: linear-gradient(135deg, #10B981, #059669); }
.card.purple .icon { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  max-width: 640px;
  margin: 32px auto 0;
}
.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-s);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* Step list */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step {
  text-align: center;
}
.step .number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-text);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--color-text-secondary);
  max-width: 240px;
  margin: 0 auto;
}

/* Pricing */
.price-box {
  max-width: 480px;
  margin: 32px auto 0;
  background: var(--color-card);
  border: 2px solid var(--color-text);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.price-box .price-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}
.price-box .price {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
}
.price-box .price-note {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 32px auto 0;
}
.faq details {
  background: var(--color-card);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  cursor: pointer;
}
.faq summary {
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--color-text-secondary);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] { padding-bottom: 24px; }
.faq p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* Footer */
footer.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 20px 40px;
  margin-top: 0;
}
footer .container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  flex-wrap: wrap;
}
footer nav a {
  color: rgba(255,255,255,0.7);
}
footer nav a:hover { color: white; opacity: 1; }
footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.legal h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 8px;
  color: var(--color-bg-dark);
}
.legal p, .legal li {
  font-size: 16px;
  margin-bottom: 8px;
}
.legal small {
  color: var(--color-text-secondary);
}
.legal hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 48px 0;
}
.legal .lead {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-top: 16px;
  margin-bottom: 24px;
}
.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Stats Row */
.stats {
  background: var(--color-bg-dark-2);
  color: white;
  padding: 50px 20px;
}
.stats .container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  text-align: center;
}
.stats .stat {
  padding: 8px;
}
.stats .stat-value {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #F4A02D, #E63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* App Showcase */
.showcase {
  background: linear-gradient(180deg, var(--color-bg) 0%, #EBEDF1 100%);
  overflow: hidden;
}
.showcase .phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.phone {
  text-align: center;
}
.phone-frame {
  position: relative;
  margin: 0 auto 16px;
  width: 100%;
  max-width: 240px;
  border-radius: 44px;
  background: #0F172A;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22),
              inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  line-height: 0;
}
.phone-frame img {
  width: 100%;
  aspect-ratio: 390 / 844;
  display: block;
  border-radius: 34px;
  vertical-align: top;
  background: #FAFAFC;
}
.phone-frame::after {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
  pointer-events: none;
}
.phone-caption {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.phone-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Wissenschaft-Sektion */
.science {
  background: var(--color-bg-dark);
  color: white;
  padding: 80px 20px;
}
.science .container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.science .section-eyebrow { color: rgba(255,255,255,0.6); }
.science h2 { color: white; }
.science .quote {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  margin: 32px 0;
  padding-left: 24px;
  border-left: 3px solid var(--color-i);
  text-align: left;
}
.science .quote-source {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-align: left;
}
.science p {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  margin-bottom: 16px;
}

/* Hero CTA Group */
.hero .cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.hero .cta-secondary {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.hero .cta-secondary:hover { color: white; opacity: 1; }

/* Responsive */
@media (max-width: 600px) {
  .hero { padding: 60px 20px 80px; }
  .hero h1 { font-size: 36px; }
  section { padding: 60px 20px; }
  section h2 { font-size: 26px; }
  header nav { gap: 16px; font-size: 13px; }
  .stats .stat-value { font-size: 36px; }
  .phone-frame { max-width: 200px; }
}
