/* =====================================================
   DIGITALCOPY24.DE – Professional Design
   Dunkelblau + Goldgelb · Responsive · Theme-Toggle
   ===================================================== */

:root {
  /* Dunkel-Theme (Standard) */
  --primary:     #0a2847;
  --primary-lt:  #0f3a5f;
  --primary-dk:  #051929;
  --accent:      #ffb300;
  --accent-dk:   #e69500;
  --bg:          #0a2847;
  --bg-alt:      #0f3a5f;
  --text:        #e8f0f7;
  --text-dim:    #a8b8c8;
  --border:      #1a3a5a;
  --white:       #ffffff;
  
  --ff-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ff-mono: 'Courier New', Courier, monospace;
  
  --max: 1200px;
  --nav-h: 70px;
  --transition: all 0.3s ease;
}

/* Hell-Theme */
[data-theme="light"] {
  --primary:     #0a2847;
  --primary-lt:  #1a4570;
  --accent:      #ffb300;
  --accent-dk:   #e69500;
  --bg:          #f5f7fa;
  --bg-alt:      #ffffff;
  --text:        #1a2332;
  --text-dim:    #5a6a7a;
  --border:      #d5dde5;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dk); }

h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }

/* ─── NAVIGATION ─── */
.nav {
  background: var(--primary);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
}

[data-theme="light"] .nav {
  background: var(--bg-alt);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: .7rem 1.2rem;
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  background: rgba(255,255,255,.05);
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.nav-menu a:first-child { border-left: 1px solid var(--border); }

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--accent);
  color: var(--primary);
}

[data-theme="light"] .nav-menu a {
  background: var(--bg);
  color: var(--text);
}

[data-theme="light"] .nav-menu a:hover,
[data-theme="light"] .nav-menu a.active {
  background: var(--accent);
  color: var(--primary);
}

.nav-contact {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-left: auto;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--text-dim);
}

.nav-contact a {
  color: var(--text-dim);
  font-size: .78rem;
}

.nav-contact a:hover { color: var(--accent); }

.theme-toggle {
  background: rgba(255,255,255,.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  color: var(--text);
}

.theme-toggle:hover {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.08);
}

[data-theme="light"] .theme-toggle {
  background: var(--primary);
  color: var(--accent);
}

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

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(7px,7px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary-lt));
  padding: 5rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

[data-theme="light"] .hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2.5rem 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}

.stat strong {
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
}

.stat span {
  font-size: .85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ─── PAGE HEADER ─── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary-lt));
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

[data-theme="light"] .page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-dim);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,179,0,.3);
}

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

.btn-secondary:hover {
  background: var(--primary-lt);
  transform: translateY(-2px);
}

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

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

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── SECTIONS ─── */
.section {
  padding: 4rem 2rem;
}

.section-alt {
  background: var(--bg-alt);
}

[data-theme="light"] .section-alt {
  background: var(--white);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* ─── SCANNER GRID ─── */
.scanner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.scanner-card {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

[data-theme="light"] .scanner-card {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.scanner-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(255,179,0,.2);
}

.scanner-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--primary);
  padding: .35rem .8rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 3px;
}

.scanner-card h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.scanner-desc {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.scanner-features {
  list-style: none;
  margin: 1.5rem 0;
}

.scanner-features li {
  padding: .5rem 0;
  color: var(--text);
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}

.scanner-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1.5rem 0;
}

/* ─── PRICE TABLE ─── */
.price-table {
  margin: 2rem 0;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th {
  background: var(--primary);
  color: var(--accent);
  padding: 1rem;
  text-align: left;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.price-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) {
  background: var(--bg-alt);
}

[data-theme="light"] .price-table tr:nth-child(even) {
  background: var(--bg);
}

.price-table td:first-child {
  font-weight: 600;
}

.price-table td:not(:first-child) {
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--ff-mono);
}

/* ─── REFERENZEN ─── */
.ref-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.ref-logo {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  border-radius: 4px;
  transition: var(--transition);
}

[data-theme="light"] .ref-logo {
  background: var(--bg-alt);
}

.ref-logo:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.ref-card {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="light"] .ref-card {
  background: var(--white);
}

.ref-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.ref-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}

.ref-card:hover img { opacity: .88; }

.ref-card-name {
  padding: .7rem 1rem;
  font-family: var(--ff-mono);
  font-size: .78rem;
  color: var(--text-dim);
  letter-spacing: .04em;
  border-top: 2px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ref-card-name span {
  display: block;
  font-size: .68rem;
  color: var(--accent);
  margin-top: .15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: .8rem;
}

.feature p {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.7;
}

/* ─── KONTAKT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item strong {
  display: block;
  color: var(--accent);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem;
}

.contact-item {
  color: var(--text);
  line-height: 1.7;
}

.contact-cta {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}

[data-theme="light"] .contact-cta {
  background: var(--white);
}

.contact-cta h3 {
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-cta p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* ─── LEGAL CONTENT ─── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-dim);
}

.legal-content ul {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text-dim);
}

.legal-content li {
  margin-bottom: .5rem;
}

.legal-content address {
  font-style: normal;
  margin: 1rem 0 1rem 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--text);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--primary-dk);
  color: var(--text-dim);
  padding: 3rem 2rem 1.5rem;
  border-top: 3px solid var(--accent);
}

[data-theme="light"] .footer {
  background: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  max-width: var(--max);
  margin: 0 auto 2rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: .9rem;
}

.footer-links h4 {
  color: var(--accent);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: .6rem;
}

.footer-links a {
  color: var(--text-dim);
  font-size: .9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .85rem;
  color: var(--text-dim);
  max-width: var(--max);
  margin: 0 auto;
}

/* ─── UTILITIES ─── */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-contact { display: none; }
  .nav-burger { display: flex; }
  
  .nav-menu.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 2rem;
    gap: 0;
    overflow-y: auto;
    z-index: 99;
  }
  
  [data-theme="light"] .nav-menu.open {
    background: var(--bg-alt);
  }
  
  .nav-menu.open a {
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: .5rem;
  }
  
  .scanner-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .page-header h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .ref-logos { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
}
