/* ===================================
   DIGITALCOPY24.DE – Archiv-Design
   Reinhard Choroba, Pirna 2025
   =================================== */

/* ===================================
   DIGITALCOPY24.DE – Archiv-Design
   Reinhard Choroba, Pirna 2025
   Keine externen Ressourcen – DSGVO-konform
   =================================== */

:root {
  --bg:        #1e1c19;
  --bg2:       #272420;
  --bg3:       #302d29;
  --border:    #3d3830;
  --amber:     #c8963a;
  --amber-lt:  #d9ae5a;
  --amber-dim: #7a5820;
  --cream:     #f0ebe0;
  --cream-dim: #b8b0a2;
  --white:     #faf8f5;
  --danger:    #8b3a3a;

  /* Lokale System-Fonts – keine externen Verbindungen */
  --ff-head:  Georgia, 'Times New Roman', serif;
  --ff-body:  Georgia, 'Times New Roman', serif;
  --ff-mono:  'Courier New', Courier, monospace;

  --max:      1100px;
  --nav-h:    64px;
}

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

html { scroll-behavior: smooth; }

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

/* ─── NAVIGATION ─── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(17,16,16,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: .03em;
  white-space: nowrap;
}

.nav-brand span {
  color: var(--cream-dim);
  font-weight: 400;
  font-size: .8rem;
  display: block;
  line-height: 1.1;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin-left: auto;
}

.nav-links > li { position: relative; }

.nav-links a {
  display: block;
  padding: .45rem .85rem;
  color: var(--cream-dim);
  text-decoration: none;
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  border-radius: 3px;
  transition: color .2s, background .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
  background: rgba(200,150,58,.08);
}

/* Dropdown */
.nav-links .dropdown { display: none; }

.nav-links > li:hover .dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .4rem 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}

.nav-links .dropdown a {
  border-radius: 0;
  padding: .5rem 1.1rem;
  font-size: .76rem;
}

/* Hamburger */
.nav-toggle { display: none; cursor: pointer; background: none; border: none; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--cream); margin: 5px 0;
  transition: .3s;
}

/* ─── MAIN CONTENT ─── */

main {
  padding-top: calc(var(--nav-h) + 3rem);
  min-height: 100vh;
}

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

/* ─── HERO ─── */

.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%,
    rgba(200,150,58,.07) 0%,
    transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-family: var(--ff-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--amber);
}

.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 600px;
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */

.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: 3px;
  font-family: var(--ff-mono);
  font-size: .82rem;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  border: none;
}

.btn-primary {
  background: var(--amber);
  color: #111;
  font-weight: 500;
}

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

.btn-ghost {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
}

.btn-ghost:hover {
  border-color: var(--amber);
  background: rgba(200,150,58,.07);
}

/* ─── DIVIDER ─── */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ─── SECTION TITLES ─── */

.section-label {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .75rem;
}

h2.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h3 {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: .75rem;
}

/* ─── CARDS / GRID ─── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}

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

.card-icon {
  width: 40px; height: 40px;
  background: rgba(200,150,58,.1);
  border: 1px solid var(--amber-dim);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.card p { color: var(--cream-dim); font-size: .92rem; line-height: 1.7; }

/* ─── TECHNIK SCANNER LIST ─── */

.scanner-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.scanner-item:last-child { border-bottom: none; }

.scanner-meta {
  font-family: var(--ff-mono);
  font-size: .78rem;
  color: var(--amber);
  letter-spacing: .05em;
}

.scanner-name {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--white);
  margin: .5rem 0 .75rem;
}

.scanner-specs {
  list-style: none;
  margin-top: 1rem;
}

.scanner-specs li {
  font-family: var(--ff-mono);
  font-size: .8rem;
  color: var(--cream-dim);
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
}

.scanner-specs li span:first-child {
  color: var(--cream-dim);
  min-width: 120px;
}

.scanner-specs li span:last-child {
  color: var(--amber-lt);
  font-weight: 500;
}

/* ─── PREISTABELLEN ─── */

.price-section { margin-bottom: 3.5rem; }

.price-section h3 {
  font-family: var(--ff-mono);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--amber-dim);
  margin-bottom: 0;
}

.price-note {
  font-size: .83rem;
  color: var(--cream-dim);
  font-style: italic;
  margin: .75rem 0 1.25rem;
  line-height: 1.6;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-mono);
  font-size: .82rem;
  margin-bottom: .75rem;
}

thead th {
  background: var(--bg3);
  color: var(--amber);
  text-align: left;
  padding: .7rem 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  border-bottom: 2px solid var(--amber-dim);
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

tbody tr:hover { background: rgba(200,150,58,.04); }

tbody td {
  padding: .65rem 1rem;
  color: var(--cream);
}

tbody td:not(:first-child):not(:nth-child(2)) {
  color: var(--amber-lt);
  font-weight: 500;
}

.price-min {
  font-family: var(--ff-mono);
  font-size: .8rem;
  color: var(--cream-dim);
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: var(--bg2);
  border-left: 2px solid var(--amber-dim);
}

.price-shipping {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--cream-dim);
}

.price-shipping strong { color: var(--cream); }

/* ─── PREISLISTE INDEX CARDS ─── */

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.price-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
  display: block;
}

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

.price-card-scanner {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--amber);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.price-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: .75rem;
}

.price-card p {
  color: var(--cream-dim);
  font-size: .88rem;
  line-height: 1.65;
}

.price-card .arrow {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--ff-mono);
  font-size: .78rem;
  color: var(--amber);
  letter-spacing: .1em;
}

/* ─── KONTAKT LEISTE ─── */

.contact-bar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 2.5rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.contact-item label {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber);
}

.contact-item a,
.contact-item span {
  color: var(--cream);
  font-size: .95rem;
  text-decoration: none;
}

.contact-item a:hover { color: var(--amber); }

/* ─── ÖFFNUNGSZEITEN ─── */

.hours-table {
  border-collapse: collapse;
  font-size: .9rem;
}

.hours-table td {
  padding: .4rem 1rem .4rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--cream-dim);
}

.hours-table td:first-child {
  font-family: var(--ff-mono);
  font-size: .8rem;
  color: var(--cream-dim);
  min-width: 100px;
}

.hours-table td:last-child { color: var(--cream); }

.hours-table tr.closed td { color: var(--border); }

/* ─── RECHTLICHE SEITEN (Impressum, AGB etc.) ─── */

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  color: var(--white);
  margin: 2.5rem 0 .75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content p {
  color: var(--cream-dim);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: .95rem;
}

.legal-content a { color: var(--amber); text-decoration: underline; }
.legal-content a:hover { color: var(--amber-lt); }

.legal-content address {
  font-style: normal;
  line-height: 1.9;
  color: var(--cream-dim);
  font-size: .95rem;
}

/* ─── PAGE HEADER ─── */

.page-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.page-header h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.15;
}

/* ─── FOOTER ─── */

footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  font-family: var(--ff-head);
  font-size: 1rem;
  color: var(--amber);
  margin-bottom: .4rem;
}

.footer-addr {
  font-size: .85rem;
  color: var(--cream-dim);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-align: right;
}

.footer-links a {
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--cream-dim);
  text-decoration: none;
  letter-spacing: .04em;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--border);
  letter-spacing: .06em;
}

/* ─── PARTNER BADGE ─── */

.partner-note {
  font-size: .82rem;
  color: var(--cream-dim);
  margin-top: 3rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--border);
}

.partner-note a { color: var(--amber); }

/* ─── MOBILE ─── */

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 2rem;
    overflow-y: auto;
    gap: .2rem;
  }
  .nav-links .dropdown {
    display: block !important;
    position: static;
    border: none;
    padding-left: 1rem;
    box-shadow: none;
    background: transparent;
  }
  .nav-toggle { display: block; margin-left: auto; }

  .scanner-item { grid-template-columns: 1fr; gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
  .contact-bar { flex-direction: column; gap: 1.5rem; }
}

/* ─── UTILITY ─── */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-amber { color: var(--amber); }
.text-dim { color: var(--cream-dim); }
.mono { font-family: var(--ff-mono); font-size: .85rem; }
