/* ============================================================
   Fotobox Aachen – shared stylesheet
   Design: dark theme inspired by gallery-template
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --paper:      #111416;
  --ink:        #e8e4de;
  --muted:      #a8b0b3;
  --card:       rgba(255, 255, 255, 0.05);
  --line:       rgba(255, 255, 255, 0.08);
  --accent:     #e07a4f;
  --accent-dim: rgba(224, 122, 79, 0.15);
  --focus-ring: rgba(255, 255, 255, 0.95);
  --shadow:     0 20px 48px rgba(0, 0, 0, 0.40);
  --radius:     24px;
  --radius-sm:  14px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: ui-sans-serif, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left,  rgba(60, 40, 25, 0.60), transparent 36%),
    radial-gradient(circle at bottom right, rgba(180, 87, 45, 0.18), transparent 28%),
    linear-gradient(180deg, #1a1c1f 0%, var(--paper) 100%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ---------- accessibility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(17, 20, 22, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 38px;
  width: auto;
  filter: invert(1) drop-shadow(0 1px 8px rgba(0,0,0,0.5));
}

/* primary nav */
.site-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 16px;
  min-height: 40px;
  border-radius: 999px;
  transition: color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(255,255,255,0.08);
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.05);
}

/* mobile nav drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--line);
  background: rgba(17, 20, 22, 0.97);
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-drawer a:hover,
.nav-drawer a.active {
  color: var(--ink);
  background: rgba(255,255,255,0.08);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  width: 100%;
  background: linear-gradient(180deg, #1c1a17 0%, #131518 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 24px 52px;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  height: 120px;
  width: auto;
  filter: invert(1) drop-shadow(0 4px 24px rgba(0,0,0,0.6));
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.hero-tagline {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  margin-top: 8px;
}

.hero-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-cta--secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.hero-cta--secondary:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.hero-cta--whatsapp {
  background: #25D366;
  color: #fff;
}
.hero-cta--whatsapp:hover {
  background: #1ebe5d;
}

/* ============================================================
   PAGE SHELL (content area)
   ============================================================ */
.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.section-cta {
  margin-top: 48px;
  text-align: center;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-group--top {
  margin-bottom: 48px;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  margin: 0 0 32px;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: 24px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card-grid--split {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: start;
}

/* product card */
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.52);
}

.product-card-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.product-image-col {
  position: sticky;
  top: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-card h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-badge {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(224, 122, 79, 0.4);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   PRINT OPTIONS TABLE
   ============================================================ */
.print-options {
  margin-top: 20px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(224, 122, 79, 0.10), rgba(224, 122, 79, 0.04));
  border: 1px solid rgba(224, 122, 79, 0.30);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 14px;
}

.print-options-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.print-options-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.print-options-badge {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(224, 122, 79, 0.40);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.print-option-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.65;
}

.print-option-link {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: underline;
}

.print-option-link:hover { color: var(--ink); }

/* ============================================================
   INTRO TEXT BLOCK
   ============================================================ */
.intro-block {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 36px 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

.intro-block p { margin: 0 0 1.1em; }
.intro-block p:last-child { margin-bottom: 0; }
.intro-block a { color: var(--accent); }

@media (max-width: 600px) {
  .intro-block { padding: 24px 20px; }
}

/* ============================================================
   PROCESS / STEPS (ablauf)
   ============================================================ */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: step;
}

.steps-list > li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.steps-list > li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(224, 122, 79, 0.4);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-list ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.eyebrow-heading {
  margin: 0 0 24px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-heading--compact {
  margin-bottom: 16px;
}

.stack-grid {
  display: grid;
  gap: 24px;
  align-content: start;
}

/* ============================================================
   CONTACT CARD
   ============================================================ */
.contact-card {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-label {
  min-width: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value { color: var(--ink); }

.contact-value a { color: var(--accent); }
.contact-value a:hover { text-decoration: underline; }

.contact-row--map {
  display: block;
  padding: 0;
}

.contact-map {
  width: 100%;
  height: 200px;
  display: block;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
}

.contact-note {
  color: var(--muted);
}

.contact-link-strong {
  font-weight: 700;
}

/* ============================================================
   NOTE / NOTICE BOX
   ============================================================ */
.notice {
  padding: 16px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(224, 122, 79, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink);
}

.notice ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.notice--flush {
  margin: 0;
}

.notice-list {
  margin: 0;
  padding-left: 20px;
}

.notice-list li + li {
  margin-top: 8px;
}

/* ============================================================
   AI FEATURE HIGHLIGHT
   ============================================================ */
.ai-feature {
  margin-top: 24px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(138, 87, 210, 0.18), rgba(224, 122, 79, 0.12));
  border: 1px solid rgba(138, 87, 210, 0.45);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 12px;
}

.ai-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-feature-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e1c2ff;
}

.ai-feature-title .ai-icon { font-size: 1.1rem; }

.ai-badge {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(138, 87, 210, 0.22);
  border: 1px solid rgba(138, 87, 210, 0.50);
  color: #e1c2ff;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.ai-feature-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.65;
}

.ai-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-examples li {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   BILDER PAGE – image gallery grid
   ============================================================ */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.52);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================================================
   ENTSTEHUNG – story layout
   ============================================================ */
.story-text {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.story-text p { margin: 0 0 1.4em; }

.faq-card {
  margin-top: 32px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.faq-question {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}

.faq-answer {
  margin: 0;
  color: var(--muted);
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-page-grid {
  display: grid;
  gap: 40px;
}

.faq-category-heading {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-accordion {
  display: grid;
  gap: 10px;
}

.faq-details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.faq-details[open] {
  border-color: rgba(224, 122, 79, 0.30);
}

.faq-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
  transition: background 0.16s ease;
}

.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { content: ""; }

.faq-summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-details[open] > .faq-summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-body p { margin: 0; }
.faq-body p + p { margin-top: 0.8em; }
.faq-body strong { color: var(--ink); }

/* FAQ teaser (on ablauf-kontakt.html) */
.faq-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-teaser-text {
  margin: 0;
  color: var(--muted);
  flex: 1 1 280px;
}

.faq-teaser .hero-cta {
  flex-shrink: 0;
  margin-top: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(17,20,22,0.8);
  padding: 36px 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo { font-size: 0.95rem; }
.footer-brand .logo img { height: 28px; }

.footer-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s ease;
}

.footer-nav a:hover { color: var(--ink); }

.footer-copy {
  width: 100%;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .hero { padding: 44px 20px 36px; }
  .hero-logo { height: 84px; }

  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 32px;
    padding-bottom: 56px;
  }

  .card { padding: 20px 20px; }
  .product-card { padding: 20px 20px; }

  .product-card-body {
    grid-template-columns: 1fr;
  }

  .card-grid--split {
    grid-template-columns: 1fr;
  }

  .product-image-col {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .cta-group {
    flex-direction: column;
  }

  .hero-cta {
    width: 100%;
  }

  .product-card-header {
    flex-direction: column;
    gap: 10px;
  }

  .print-option-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
