/* styles.css – Digitaldoktor.ai
   Helles, modernes Layout für Startseite mit KI + PC-Service
   Design-Stil: clean, technisch, mit dezenten Verläufen
*/

/* ========== RESET & BASIS ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.dd-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #111827;
  line-height: 1.6;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ========== LAYOUT ========== */
.dd-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== HEADER / NAVIGATION ========== */
.dd-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.dd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 10px;
}

/* Logo */
.dd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dd-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #005b88, #00b8c9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.dd-logo-text {
  display: flex;
  flex-direction: column;
}

.dd-logo-main {
  font-weight: 700;
  font-size: 18px;
}
.dd-logo-main span {
  color: #00b8c9;
}

.dd-logo-sub {
  font-size: 12px;
  color: #6b7280;
}

/* Navigation */
.dd-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}

.dd-nav a {
  color: #111827;
}
.dd-nav a:hover {
  color: #005b88;
}

.dd-nav-cta {
  padding: 6px 14px;
  border-radius: 999px;
  background: #005b88;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}
.dd-nav-cta:hover {
  background: #004166;
}

/* ========== MAIN WRAPPER ========== */
.dd-main {
  padding: 24px 0 48px;
}

/* ========== HERO-BEREICH ========== */
.dd-section {
  margin-top: 32px;
}

.dd-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 32px;
  padding: 32px 0 16px;
  align-items: center;
}

.dd-hero-kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}

.dd-hero h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.dd-hero p {
  font-size: 16px;
  color: #4b5563;
  max-width: 520px;
  margin: 0;
}

.dd-hero-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0 10px;
  flex-wrap: wrap;
}

.dd-hero-note {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 12px;
}

.dd-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.dd-badge {
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #e5f3ff;
  color: #005b88;
}

/* Hero rechts */
.dd-hero-aside {
  display: flex;
  justify-content: flex-end;
}

.dd-hero-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 20px 18px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
  max-width: 380px;
}

/* Hero-Bilder */
.dd-hero-img {
  width: 100%;
  max-width: 800px;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.dd-hero-ui-cards {
  width: 100%;
  max-width: 450px;
  margin-top: -40px;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.15));
}

.dd-hero-icon {
  width: 120px;
  opacity: 0.9;
  margin: 10px 0 8px;
}

/* ========== BUTTONS ========== */
.dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.dd-btn-primary {
  background: #005b88;
  color: #ffffff;
}
.dd-btn-primary:hover {
  background: #004166;
}

.dd-btn-ghost {
  background: #ffffff;
  color: #005b88;
  border-color: #d1d5db;
}
.dd-btn-ghost:hover {
  background: #f0f4ff;
}

/* ========== SECTION-TITEL ========== */
.dd-section-title {
  font-size: 24px;
  margin: 0 0 16px;
}

/* ========== GRIDS & CARDS ========== */
.dd-grid {
  display: grid;
  gap: 20px;
}

.dd-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dd-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dd-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.dd-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
}

/* Icon-Bilder in Cards */
.dd-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* Listen */
.dd-list {
  padding-left: 18px;
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 14px;
}
.dd-list li + li {
  margin-top: 4px;
}

/* Text-Link */
.dd-link {
  display: inline-flex;
  margin-top: 8px;
  font-size: 14px;
  color: #005b88;
}

/* ========== SPLIT-SECTIONS ========== */
.dd-section-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: flex-start;
}

/* KI-Bilder */
.dd-ki-dashboard {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.12);
  margin-bottom: 14px;
}

.dd-ki-flow {
  width: 100%;
  opacity: 0.85;
  border-radius: 18px;
}

/* PC-Bilder */
.dd-pc-main,
.dd-pc-hands,
.dd-pc-inside {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 18px;
}

/* ========== PREISE / PRICING ========== */
.dd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.dd-pricing-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  font-size: 14px;
  border: 1px solid #e5e7eb;
}

.dd-pricing-card-featured {
  border-color: #00b8c9;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.11);
}

.dd-tarif-icon {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 8px;
}

.dd-price {
  font-size: 20px;
  font-weight: 700;
  color: #005b88;
  margin-bottom: 10px;
}

/* ========== ABLAUF / STEPS ========== */
.dd-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dd-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.dd-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #00b8c9;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* ========== CTA-SECTION ========== */
.dd-section-cta {
  margin-top: 40px;
}

.dd-section-cta-inner {
  background: linear-gradient(135deg, #005b88, #00b8c9);
  border-radius: 20px;
  padding: 24px 20px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4);
}

.dd-section-cta-inner p {
  max-width: 520px;
  margin: 8px auto 16px;
}

/* ========== BACKGROUND-EFFEKTE ========== */
.dd-bg-blob {
  position: absolute;
  width: 2400px;
  opacity: 0.25;
  z-index: -10;
  top: -200px;
  left: -300px;
}

.dd-bg-circle {
  position: absolute;
  width: 1400px;
  opacity: 0.12;
  z-index: -10;
  bottom: -100px;
  right: -200px;
}

.dd-bg-grid {
  position: absolute;
  width: 2000px;
  opacity: 0.15;
  z-index: -15;
  top: 400px;
  left: 0;
}

/* ========== FOOTER ========== */
.dd-footer {
  background: #020617;
  color: #9ca3af;
  padding: 24px 0 0;
  margin-top: 32px;
}

.dd-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding-bottom: 16px;
}

.dd-footer-logo {
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 6px;
}

.dd-footer-text {
  max-width: 260px;
  font-size: 13px;
}

.dd-footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.dd-footer-col h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #e5e7eb;
}

.dd-footer-col p {
  margin: 0;
  font-size: 13px;
}

.dd-footer-col a {
  color: #e5e7eb;
}
.dd-footer-col a:hover {
  color: #ffffff;
}

.dd-footer-bottom {
  border-top: 1px solid #111827;
  padding: 10px 0;
  font-size: 12px;
  text-align: center;
  color: #6b7280;
}

/* Footer Glow Bild */
.dd-footer-glow {
  width: 100%;
  opacity: 0.7;
  margin-top: 40px;
  mix-blend-mode: screen;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .dd-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dd-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .dd-hero-aside {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .dd-section-split,
  .dd-grid-2,
  .dd-grid-3,
  .dd-steps,
  .dd-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
