/* Dienstmanager Landing Page – Stylesheet */

:root {
  --color-bg: #0f1115;
  --color-bg-alt: #15181f;
  --color-surface: #1b1f28;
  --color-surface-2: #21252f;
  --color-border: #2b303c;
  --color-text: #f4f5f7;
  --color-text-muted: #a2a8b5;
  --color-primary: #e2001a;
  --color-primary-hover: #ff2740;
  --color-primary-soft: rgba(226, 0, 26, 0.14);
  --color-on-primary: #ffffff;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container-width: 1160px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-bg: #ffffff;
    --color-bg-alt: #f5f6f8;
    --color-surface: #ffffff;
    --color-surface-2: #f1f2f5;
    --color-border: #e3e5ea;
    --color-text: #14161a;
    --color-text-muted: #5b6270;
    --color-primary-soft: rgba(226, 0, 26, 0.08);
    --shadow-md: 0 8px 24px rgba(20, 22, 26, 0.08);
    --shadow-lg: 0 20px 48px rgba(20, 22, 26, 0.12);
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

section {
  padding-block: 72px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

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

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

.btn-secondary {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--color-text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* Hero */

.hero {
  padding-top: 64px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-meta div {
  min-width: 90px;
}

.hero-meta strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-meta span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* Browser-window mockup (for desktop-style screenshots) */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  aspect-ratio: 9 / 19.5;
  background: var(--color-surface);
  border: 8px solid var(--color-surface-2);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  position: relative;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: var(--color-surface-2);
  border-radius: 20px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--color-primary-soft), var(--color-surface-2));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.browser-mockup {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}

.browser-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border);
}

.browser-body {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-primary-soft), var(--color-surface-2));
}

.browser-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.browser-body .placeholder-box {
  border: none;
  border-radius: 0;
}

.zoomable {
  cursor: zoom-in;
}

.browser-body:hover .zoomable,
.phone-screen:hover .zoomable {
  filter: brightness(0.85);
}

/* Lightbox */

body.lightbox-open {
  overflow: hidden;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 10, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 48px 20px;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
}

/* Screenshot / placeholder blocks */

.placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 18px;
  color: var(--color-text-muted);
  border: 1.5px dashed var(--color-border);
  border-radius: inherit;
  width: 100%;
  height: 100%;
}

.placeholder-box svg {
  width: 30px;
  height: 30px;
  opacity: 0.7;
}

.placeholder-box .ph-label {
  font-size: 0.78rem;
  font-weight: 600;
}

.placeholder-box .ph-hint {
  font-size: 0.7rem;
  opacity: 0.75;
}

/* Logos / trust strip */

.trust-strip {
  padding-block: 28px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.trust-strip p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.trust-strip strong {
  color: var(--color-text);
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* Alternating detail rows */

.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 44px;
  border-top: 1px solid var(--color-border);
}

.detail-row:first-of-type {
  border-top: none;
}

.detail-row.reverse .detail-visual {
  order: -1;
}

.detail-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.detail-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-list li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.detail-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.detail-visual {
  display: flex;
  align-items: center;
}

/* Screenshots section */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Audience / for whom */

.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.audience-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.audience-list li {
  display: flex;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--color-text-muted);
}

.audience-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.stat-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-item span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* CTA / Contact */

.cta-section .container {
  background: linear-gradient(135deg, var(--color-primary), #a4000f);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-inline: auto;
}

.cta-section .btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: 48px 28px;
  background: var(--color-bg-alt);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand p {
  max-width: 280px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* Legal pages (Impressum / Datenschutz) */

.legal-page {
  padding-top: 56px;
  padding-bottom: 80px;
}

.legal-page .container {
  max-width: 780px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem);
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 36px;
}

.legal-page h3 {
  font-size: 1.05rem;
  margin-top: 26px;
}

.legal-page h4 {
  font-size: 0.96rem;
  margin-top: 18px;
  margin-bottom: 6px;
}

.legal-page p,
.legal-page li {
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .audience-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 8px;
  }

  .detail-row,
  .detail-row.reverse {
    grid-template-columns: 1fr;
  }

  .detail-row.reverse .detail-visual {
    order: 0;
  }
}

@media (max-width: 720px) {
  section {
    padding-block: 52px;
  }

  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 20px 24px;
  }

  body.nav-open .nav-links a {
    padding: 10px 0;
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-section .container {
    padding: 40px 24px;
  }

  .hero-meta {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
}
