/* ============================================================
   BERLINDRUCK – Stylesheet
   Datei: berlinerdruck.css
   ⚠️ DIESE DATEI BITTE NICHT BEARBEITEN
   Alle Textanpassungen bitte nur in der berlindruck.html vornehmen.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ── CSS-Variablen ──────────────────────────────────────────── */
:root {
  --rot:          #C8102E;
  --rot-dunkel:   #8B0A1E;
  --rot-hell:     #E8334A;
  --rot-blush:    #F9E5E8;
  --weiss:        #FFFFFF;
  --grau-100:     #F7F7F7;
  --grau-200:     #EFEFEF;
  --grau-400:     #AAAAAA;
  --grau-700:     #444444;
  --schwarz:      #111111;
  --schrift-body: 'Source Sans 3', sans-serif;
  --schrift-head: 'Playfair Display', serif;
  --radius:       4px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(200,16,46,0.18);
  --transition:   0.25s ease;
  --max-w:        1180px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--schrift-body);
  color: var(--schwarz);
  background: var(--weiss);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--schrift-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--rot);
  color: var(--weiss) !important;
}

.btn-primary.active {
  background: var(--rot) !important;       /* Hintergrund bleibt */
  box-shadow: 0 0 0 3px var(--weiss); /* Weißer Ring außen */
  color: var(--weiss) !important;
}

.btn-primary:hover { background: var(--rot-dunkel); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  color: var(--rot);
  border: 2px solid var(--rot);
}
.btn-outline:hover { background: var(--rot); color: var(--weiss); transform: translateY(-2px); }
.btn-weiss {
  background: var(--weiss);
  color: var(--rot);
}
.btn-weiss:hover { background: var(--rot-blush); transform: translateY(-2px); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--schrift-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--schwarz);
  margin-bottom: 16px;
}
.section-title--weiss { color: var(--weiss); }
.section-subtitle { font-size: 1.05rem; color: var(--grau-700); max-width: 640px; }
.section-subtitle--weiss { color: rgba(255,255,255,0.82); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── HEADER / NAV ───────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--weiss);
  border-bottom: 3px solid var(--rot);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  font-family: var(--schrift-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--schwarz);
  letter-spacing: -0.02em;
}
.logo span { color: var(--rot); }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--rot);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: var(--weiss); }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--grau-700);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--rot); background: var(--rot-blush); }
.nav-links .btn { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--schwarz); margin: 6px 0; border-radius: 2px; transition: var(--transition); }

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--schwarz) 0%, #2A0008 55%, var(--rot-dunkel) 100%);
  color: var(--weiss);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
#hero::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,16,46,0.3);
  border: 1px solid rgba(200,16,46,0.5);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rot-hell);
  margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: 0.6rem; color: var(--rot-hell); animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title {
  font-family: var(--schrift-head);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 24px;
}
.hero-title em { color: var(--rot-hell); font-style: normal; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.78); margin-bottom: 40px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 36px;
}
.stat-num { font-family: var(--schrift-head); font-size: 2rem; font-weight: 900; color: var(--weiss); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 400; }

/* ── SECTION-WRAPPER ────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--grau { background: var(--grau-100); }
.section--rot { background: var(--rot); }
.section--dunkel { background: var(--schwarz); }
.section-head { margin-bottom: 52px; }

/* ── BLOG ───────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--weiss);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--grau-200);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grau-200);
}
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.05); }
.blog-card__image--placeholder {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--rot-blush), var(--grau-200));
  color: var(--grau-400); font-size: 0.85rem; font-weight: 600;
}
.blog-card__body { padding: 28px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.blog-tag {
  background: var(--rot-blush); color: var(--rot);
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
}
.blog-date { font-size: 0.8rem; color: var(--grau-400); }
.blog-card__title {
  font-family: var(--schrift-head);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--schwarz);
}
.blog-card__excerpt { font-size: 0.95rem; color: var(--grau-700); flex: 1; margin-bottom: 20px; }
.blog-card__link {
  font-weight: 700; font-size: 0.88rem; color: var(--rot);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.blog-card__link:hover { gap: 10px; }
.blog-card__link::after { content: '→'; }

/* ── LINK HUB ───────────────────────────────────────────────── */
.link-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.hub-card {
  background: var(--weiss);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--grau-200);
  display: flex; flex-direction: column;
  gap: 14px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.hub-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--rot);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.hub-card:hover::before { transform: scaleX(1); }
.hub-card__icon {
  width: 48px; height: 48px;
  background: var(--rot-blush);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.hub-card__icon svg { width: 24px; height: 24px; fill: var(--rot); }
.hub-card__title { font-family: var(--schrift-head); font-size: 1.15rem; color: var(--schwarz); }
.hub-card__desc { font-size: 0.9rem; color: var(--grau-700); flex: 1; }
.hub-card__url {
  font-size: 0.82rem; font-weight: 700; color: var(--rot);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.hub-card__url:hover { gap: 10px; }
.hub-card__url::after { content: '↗'; }

/* ── PRODUKTION ─────────────────────────────────────────────── */
.produktion-steps { display: flex; flex-direction: column; gap: 0; }
.produktion-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 32px;
  position: relative;
}
.produktion-step:not(:last-child) .step-connector { display: block; }
.step-left { display: flex; flex-direction: column; align-items: center; }
.step-number {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--rot);
  color: var(--weiss);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--schrift-head);
  font-size: 1.3rem; font-weight: 900;
  box-shadow: 0 0 0 6px var(--rot-blush);
  z-index: 1;
}
.step-connector {
  display: none;
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--rot), var(--rot-blush));
  margin: 8px 0;
  min-height: 40px;
}
.step-content {
  padding-bottom: 48px;
}
.produktion-step:last-child .step-content { padding-bottom: 0; }
.step-content h3 {
  font-family: var(--schrift-head);
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--schwarz);
  padding-top: 12px;
}
.step-content p { color: var(--grau-700); margin-bottom: 20px; }
.step-image {
  aspect-ratio: 16/7;
  border-radius: 8px;
  overflow: hidden;
  background: var(--grau-200);
  margin-top: 16px;
}
.step-image img { width: 100%; height: 100%; object-fit: cover; }
.step-image--placeholder {
  aspect-ratio: 16/7;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--grau-200), var(--rot-blush));
  display: flex; align-items: center; justify-content: center;
  color: var(--grau-400); font-size: 0.85rem; font-weight: 600;
  margin-top: 16px;
}

/* ── CTA-BANNER ─────────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--rot-dunkel), var(--rot));
  color: var(--weiss);
  padding: 80px 0;
  text-align: center;
}
#cta .section-title--weiss { margin-bottom: 16px; }
#cta .section-subtitle--weiss { margin: 0 auto 36px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────────────── */
#site-footer {
  background: var(--schwarz);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: var(--weiss); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--schrift-body); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--weiss); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px; transition: var(--transition);
}
.footer-col a:hover { color: var(--rot-hell); padding-left: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--rot-hell); }

/* ── MOBILE NAV (Hamburger) ─────────────────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--weiss);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 3px solid var(--rot);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 1em;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-links .btn { width: 100%; text-align: center; margin-left: 0; margin-top: 8px; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* .section { padding: 64px 0; } */
  #hero { padding: 40px 0 90px; }
  .hero-stats { gap: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .link-hub-grid { grid-template-columns: 1fr; }
  .produktion-step { grid-template-columns: 56px 1fr; gap: 0 20px; }
  .step-number { width: 46px; height: 46px; font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}
/* ── PRODUKT-GRID ────────────────────────────────────────────── */
.produkt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.produkt-card {
  background: var(--weiss);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.produkt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.produkt-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grau-100);
}
.produkt-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.produkt-card:hover .produkt-card__image img { transform: scale(1.05); }
.produkt-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--grau-100), var(--rot-blush));
}
.produkt-card__body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--rot);
}
.produkt-card__title {
  font-family: var(--schrift-head);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--schwarz);
  margin-bottom: 6px;
}
.produkt-card__subtitel {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: 14px;
}
.produkt-card__beschreibung {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--grau-700);
  flex: 1;
}

@media (max-width: 900px) {
  .produkt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .produkt-grid { grid-template-columns: 1fr; gap: 20px; }
}
