/* ---------------------------------------------
   proPAN500 — Veranstaltungstechnik
   Modern & technisch: neutrales Anthrazit, klare Linien,
   Cyan als Marken-Akzent (aus dem proPAN500-Logo).
--------------------------------------------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/syne-latin.woff2') format('woff2');
}

:root {
  --ink-900: #16181b;
  --ink-800: #202226;
  --ink-700: #2b2e33;
  --ink-600: #3d4148;
  --line: #3d4148;
  --paper: #f6f7f8;
  --paper-dim: #ececee;
  --text-body: #4d5158;
  --text-muted: #85898f;
  --white: #ffffff;
  --accent: #1db8e6;
  --accent-dark: #139bc4;
  --accent-ink: #08222c;
  --radius: 10px;
  --font-head: 'Syne', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); color: var(--ink-900); margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink-600);
  color: var(--ink-900);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 24, 27, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-700);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-chip {
  background: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}
.logo-img {
  height: 30px;
  width: auto;
  display: block;
}
.logo-icon {
  height: 46px;
  width: 46px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav ul {
  display: flex;
  gap: 32px;
}
.main-nav a:not(.btn) {
  color: #cdd0d4;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:not(.btn):hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(22, 24, 27, 0.97) 0%, rgba(22, 24, 27, 0.9) 40%, rgba(22, 24, 27, 0.6) 68%, rgba(22, 24, 27, 0.32) 100%),
    url('../images/web/hero-bg.jpg') center 32% / cover no-repeat;
  color: var(--white);
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero-lead {
  font-size: 1.15rem;
  color: #b4b8bd;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: var(--ink-600); color: var(--white); }
.hero .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Section headers */
.section-eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-eyebrow-light { color: var(--accent); }
.section-lead {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.section-lead-light { color: #b4b8bd; }

/* Services */
.services { padding: 100px 0; }
.services h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.services .section-lead {
  max-width: none;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e2e3e6;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--paper-dim);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; margin: 0; }

/* Planning */
.planning { padding: 100px 0; text-align: center; }
.planning h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.planning .section-lead {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.planning-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.planning-grid .planning-item {
  flex: 0 1 280px;
  min-width: 200px;
}
.planning-item {
  margin: 0;
  background: var(--white);
  border: 1px solid #e2e3e6;
  border-radius: var(--radius);
  overflow: hidden;
}
.planning-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}
.planning-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  display: block;
}
.planning-thumb::after {
  content: "Vergrößern";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 24, 27, 0.55);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.planning-thumb:hover::after,
.planning-thumb:focus-visible::after {
  opacity: 1;
}
.planning-item figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(11, 12, 14, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* About */
.about { background: var(--white); padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.about-points { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-points li {
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-body);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

/* Placeholder boxes for future images */
.placeholder-box {
  background: repeating-linear-gradient(135deg, var(--paper-dim), var(--paper-dim) 10px, #e2e3e6 10px, #e2e3e6 20px);
  border: 1px dashed #c5c7cc;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.portfolio-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.portfolio-item:hover img { transform: scale(1.05); }

/* Portfolio */
.portfolio { padding: 100px 0; }
.portfolio h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

/* Process */
.process { padding: 100px 0; background: var(--white); text-align: center; }
.process h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.process .section-lead { max-width: none; margin-left: auto; margin-right: auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
  text-align: left;
  list-style: none;
  padding: 0;
}
.process-step { display: flex; flex-direction: column; gap: 12px; }
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-dim);
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
.process-step h3 { font-size: 1.05rem; margin: 0; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Contact */
.contact {
  background: var(--ink-900);
  color: var(--white);
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-details li { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.contact-details a { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.contact-details a:hover { color: var(--accent); }

.contact-form {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: #cdd0d4; }
.form-row input,
.form-row textarea {
  background: var(--ink-700);
  border: 1px solid var(--ink-600);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin: 12px 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--ink-900); color: #b4b8bd; border-top: 1px solid var(--ink-700); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand .logo-icon { height: 40px; width: 40px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-social svg { width: 20px; height: 20px; flex-shrink: 0; }
.footer-social:hover { color: var(--accent); }
.footer-contact p { font-size: 0.9rem; margin: 0 0 8px; }
.footer-contact a:hover { color: var(--accent); }
.footer-legal { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-legal a { font-size: 0.9rem; color: #b4b8bd; }
.footer-legal a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--ink-700);
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Legal pages */
.legal-page { padding: 72px 0 100px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 32px; }
.legal-page h2 { font-size: 1.15rem; margin-top: 36px; }
.legal-page p { font-size: 0.95rem; }
.legal-page a { color: var(--accent-dark); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.legal-brand {
  font-size: 0.85em;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 860px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background: var(--ink-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 28px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 20px; }
  .main-nav a:not(.btn) { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 90px 0 70px; }
  .services, .about, .portfolio, .contact { padding: 70px 0; }
}
