/* ==========================================================================
   druck_bar – Rostock | Website Redesign
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --red: #d21f1f;
  --red-dark: #a81414;
  --blue: #0092d6;
  --ink: #1c1c1c;
  --ink-soft: #55565a;
  --paper: #ffffff;
  --bg-soft: #f5f5f6;
  --bg-soft-2: #efeff1;
  --line: #e3e3e6;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(20,20,20,.06);
  --shadow-md: 0 14px 34px rgba(20,20,20,.12);
  --font-head: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  line-height: 1.15;
}
p { line-height: 1.65; margin: 0 0 1em; color: var(--ink-soft); }
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 720px; margin: 0 0 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  margin: 0 0 .8em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--blue);
  display: inline-block;
  border-radius: 2px;
}
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; }
.bg-soft { background: var(--bg-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(210,31,31,.32); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(28,28,28,.35); }
.btn-ghost:hover { background: rgba(28,28,28,.06); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img { height: 46px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  font-size: .86rem;
  letter-spacing: .04em;
}
.main-nav a:not(.btn-nav) { position: relative; padding: 6px 0; }
.main-nav a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}
.main-nav a:not(.btn-nav):hover::after { right: 0; }
.btn-nav {
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
}
.btn-nav:hover { background: var(--red-dark); }
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: .82rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--red);
  padding-left: 14px;
  line-height: 1.5;
}
.header-contact a:hover { color: var(--red); }

.nav-toggle-input { display: none; }
.nav-toggle-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--line);
}
.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-btn span::before { position: absolute; top: -6px; }
.nav-toggle-btn span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #141414 url('../assets/img/unspecified1-1.jpg') center 30% / cover no-repeat;
}
.hero-inner { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero .eyebrow { color: var(--red); }
.hero .eyebrow::before { background: var(--blue); }
.hero h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5.6vw, 3.7rem);
  max-width: 16ch;
}
.hero h1 span { color: var(--red-dark); }
.hero .lead {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 1.12rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 40px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts li {
  color: var(--ink);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero-facts li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ==========================================================================
   Tiles / Leistungen
   ========================================================================== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.tile {
  grid-column: span 6;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile-media {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.tile-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
}
.tile-num {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 2;
  font-family: var(--font-head);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  letter-spacing: .06em;
}
.tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tile-tag {
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(210,31,31,.09);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-family: var(--font-head);
}
.tile h3 { font-size: 1.3rem; margin-bottom: .4em; }
.tile p { font-size: .95rem; margin-bottom: .8em; }

.tile-featured { grid-column: span 6; }
.tile-featured .tile-media { height: 280px; }
.tile-featured .tile-tag { background: rgba(0,146,214,.12); color: var(--blue); }

@media (min-width: 760px) {
  .tile { grid-column: span 3; }
  .tile-featured { grid-column: span 6; }
  .tile-featured .tile-content { display: grid; grid-template-columns: 1.05fr 1fr; }
  .tile-featured .tile-media { height: auto; min-height: 320px; }
}
@media (min-width: 1020px) {
  .tile { grid-column: span 2; }
  .tile-featured { grid-column: span 6; }
}

/* details / accordion inside tile */
.tile details { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.tile summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.tile summary::-webkit-details-marker { display: none; }
.tile summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--red);
  transition: transform .2s ease;
}
.tile details[open] summary::after { transform: rotate(45deg); }
.tile .detail-list { margin: 10px 0 4px; }
.tile .detail-list li {
  font-size: .88rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  margin-bottom: 7px;
}
.tile .detail-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* ==========================================================================
   Textildruck deep-dive section
   ========================================================================== */
.textildruck-section { background: var(--ink); color: #fff; }
.textildruck-section .eyebrow { color: #ff8a8a; }
.textildruck-section .eyebrow::before { background: var(--blue); }
.textildruck-section h2 { color: #fff; }
.textildruck-section .section-lead { color: rgba(255,255,255,.72); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 40px 0 46px;
}
.tech-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
}
.tech-card .tech-num {
  font-family: var(--font-head);
  color: var(--red);
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.tech-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: .5em; }
.tech-card p { color: rgba(255,255,255,.68); font-size: .9rem; margin-bottom: 0; }

.material-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.chip {
  font-size: .85rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.88);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 620px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  background: var(--bg-soft-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px 8px;
  font-size: .75rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item:hover .cap { opacity: 1; }
.gallery-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  margin-top: 4px;
}

.ig-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.ig-note a { color: var(--red); font-weight: 600; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 1000px); max-height: 84vh; border-radius: 10px; }
.lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-size: .9rem; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.3);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-badges li {
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper);
}
.contact-card .ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(210,31,31,.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-family: var(--font-head);
}
.contact-card h4 { font-size: 1rem; margin-bottom: .3em; }
.contact-card a, .contact-card address { font-size: .95rem; color: var(--ink-soft); font-style: normal; }
.contact-card a:hover { color: var(--red); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 46px 0 24px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-logo img { height: 40px; margin-bottom: 12px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; }
.footer-nav a:hover { color: #fff; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.25);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .85rem;
}
.footer-social a:hover { background: rgba(255,255,255,.08); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: .8rem;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 40px;
}
.legal-hero h1 { color: #fff; font-size: 2rem; }
.legal-body { padding: 50px 0 90px; max-width: 800px; }
.legal-body h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal-body p, .legal-body address { color: var(--ink-soft); font-style: normal; }

/* ==========================================================================
   Responsive nav
   ========================================================================== */
@media (max-width: 900px) {
  .header-contact { display: none; }
  .nav-toggle-btn { display: flex; }
  .main-nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .main-nav a { width: 100%; padding: 16px 22px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .btn-nav { border-radius: 0; text-align: center; }
  .nav-toggle-input:checked ~ .main-nav { max-height: 400px; }
  .nav-toggle-input:checked ~ .nav-toggle-btn span { background: transparent; }
  .nav-toggle-input:checked ~ .nav-toggle-btn span::before { transform: rotate(45deg) translate(4px, 5px); }
  .nav-toggle-input:checked ~ .nav-toggle-btn span::after { transform: rotate(-45deg) translate(4px, -5px); }
}
