@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/DMSans-300.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/DMSans-400.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/DMSans-500.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/DMSans-700.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/DMSans-Italic-300.ttf') format('truetype');
}

/* ============================================================
   MEDIAPEPPER — Global Styles
   ============================================================ */

:root {
  --red:        #cc2200;
  --red-dark:   #991a00;
  --red-light:  #e03300;
  --bg-card:    rgba(10, 5, 5, 0.72);
  --bg-card-hover: rgba(18, 6, 6, 0.85);
  --text:       #f0e8e8;
  --text-muted: #b09090;
  --border:     rgba(204, 34, 0, 0.25);
  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --radius:     4px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: #0a0505;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ---- Background ---- */
.bg-layer {
  position: fixed;
  inset: 0;
  background-image: url('https://mediapepper.biz/img/cropped-chili-499062-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  filter: brightness(0.28) saturate(0.6);
}
.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, rgba(80,10,0,0.55) 0%, rgba(5,2,2,0.7) 100%);
  z-index: 1;
}

/* ---- Layout ---- */
.site-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

main { flex: 1; }

/* ---- Navigation ---- */
.site-header {
  padding: 1.6rem 0 1.4rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  background: rgba(8,2,2,0.5);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.logo-name span { color: var(--red); }
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}
nav a {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
nav a:hover,
nav a.active {
  color: #fff;
  background: rgba(204,34,0,0.18);
}
nav a.active { color: var(--red); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
  padding: 7rem 0 5rem;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,34,0,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(204,34,0,0.5);
  transform: translateY(-3px);
}

/* ---- Section ---- */
.section {
  padding: 5rem 0;
}
.section-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.05;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  position: relative;
  overflow: hidden;
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 0.4s ease;
}
.service-card:hover::after { width: 100%; }

/* ---- USP strip ---- */
.usp-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  margin: 0;
  background: rgba(10,2,2,0.45);
  backdrop-filter: blur(6px);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.usp-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--red);
  letter-spacing: 0.05em;
}
.usp-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Referenzen (Karten) ---- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.ref-card {
  display: flex;
  flex-direction: column;
}
.ref-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border);
  background: rgba(50,10,5,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ref-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.ref-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.5rem;
  flex: 1;
  backdrop-filter: blur(10px);
}
.ref-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.8rem;
  background: rgba(204,34,0,0.15);
  border: 1px solid var(--border);
  color: var(--red);
}
.ref-badge.wip {
  background: rgba(100,80,0,0.2);
  border-color: rgba(200,160,0,0.3);
  color: #d4a800;
}
.ref-body h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.ref-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.ref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ref-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
}
.ref-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}
.ref-link:hover { color: var(--red-light); }
.ref-link::after { content: ' →'; }

/* ---- Kontaktformular ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: #fff;
}
.contact-info p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(204,34,0,0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-detail-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-detail-text strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.1rem;
}
.contact-detail-text a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-detail-text a:hover { color: var(--red); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  background: rgba(204,34,0,0.06);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: #1a0505; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check a { color: var(--red); text-decoration: none; }
.form-check a:hover { text-decoration: underline; }
.form-feedback {
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  display: none;
}
.form-feedback.success {
  background: rgba(0,120,40,0.15);
  border: 1px solid rgba(0,200,60,0.25);
  color: #6ef0a0;
  display: block;
}
.form-feedback.error {
  background: rgba(180,20,0,0.15);
  border: 1px solid rgba(204,34,0,0.3);
  color: #f07060;
  display: block;
}

/* ---- Impressum ---- */
.legal-block {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.legal-block h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.4rem;
  margin-top: 1.5rem;
}
.legal-block a { color: var(--red); text-decoration: none; }

/* ---- Footer ---- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(8,2,2,0.6);
  backdrop-filter: blur(6px);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--red); }

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,2,2,0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 0 2rem; }
  nav a { display: block; padding: 0.6rem 0; }

  .burger { display: flex; }
  .site-header { position: relative; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 0 3rem; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
}
