/* =============================================================
   GRAFCUX-Werbegrafik – Relaunch 2026
   ============================================================= */

:root {
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --white: #ffffff;
  --paper: #fafafa;
  --line: #e6e6e6;
  --brand: #960532;
  --brand-dark: #6e0324;
  --brand-tint: #fdf0f3;

  /* the five spectrum colours lifted from the original GRAFCUX.DE
     wordmark stripe – reused throughout as the signature accent */
  --s1: #e2231a;
  --s2: #f5a623;
  --s3: #ffe000;
  --s4: #2ea84a;
  --s5: #1b6fc9;
  --s6: #7a2e8f;

  --radius: 10px;
  --maxw: 1120px;
  --shadow: 0 10px 30px rgba(17,17,17,.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--brand); }

p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
strong { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2em; }
li { margin-bottom: .4em; }

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

/* -------------------- spectrum rule (signature element) -------------------- */
.spectrum {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--s1), var(--s2), var(--s3), var(--s4), var(--s5), var(--s6));
  border: 0;
  margin: 0;
}
.spectrum-thin {
  height: 3px;
  width: 64px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--s1), var(--s2), var(--s3), var(--s4), var(--s5), var(--s6));
  border: 0;
  margin: .3em 0 1.1em;
}

/* -------------------- skip link -------------------- */
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--brand); color: #fff; padding: .6em 1em; z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* -------------------- header -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-logo-link { display: block; line-height: 0; }
.header-logo-link img { width: 100%; height: auto; display: block; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding: 10px 20px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand-word {
  font-family: Verdana, Arial, sans-serif;
  font-weight: 800; font-size: 1.5rem; color: var(--ink);
  letter-spacing: -.01em;
}
.brand-word span { color: var(--brand); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle::before { position: absolute; transform: translateY(-7px); }
.nav-toggle::after { position: absolute; transform: translateY(7px); }
.nav-toggle.open span { opacity: 0; }
.nav-toggle.open::before { transform: rotate(45deg); }
.nav-toggle.open::after { transform: rotate(-45deg); }

.primary-nav ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px;
  margin: 0; padding: 0;
}
.primary-nav a {
  display: block; color: var(--ink); font-weight: 600; font-size: .93rem;
  padding: 10px 12px; border-radius: 8px;
}
.primary-nav a:hover, .primary-nav a.active {
  background: var(--brand-tint); color: var(--brand); text-decoration: none;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: .88rem;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap;
}
.btn-call:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.btn-call svg { width: 16px; height: 16px; fill: #fff; flex: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h, 110px) 0 0 0; background: var(--white);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    overflow-y: auto; padding: 10px 0 40px;
    border-top: 1px solid var(--line);
  }
  .primary-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
  .primary-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .btn-call span.txt { display: none; }
  .btn-call { padding: 10px 12px; }
}

/* -------------------- hero -------------------- */
.hero {
  background: linear-gradient(180deg, var(--brand-tint), #fff 70%);
  padding: 46px 0 40px;
  border-bottom: 1px solid var(--line);
}
.hero .container { display: grid; gap: 28px; grid-template-columns: 1.15fr .85fr; align-items: center; }
.hero .container.hero-solo { grid-template-columns: 1fr; max-width: 900px; text-align: center; }
.hero-solo .hero-eyebrow { justify-content: center; }
.hero-solo .lead { margin-left: auto; margin-right: auto; text-align: left; }
.hero-solo p:not(.lead) { text-align: left; }
.hero-solo .btn-row { justify-content: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6em;
}
.hero p.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46em; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media { position: relative; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* decorative stat strip used in place of the hero image */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-top: 34px;
}
.hero-stats .stat {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 12px; box-shadow: var(--shadow); min-width: 0;
}
.hero-stats .stat .icon {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--brand-tint); display: flex; align-items: center; justify-content: center;
}
.hero-stats .stat .icon svg { width: 15px; height: 15px; fill: var(--brand); }
.hero-stats .stat b { display: block; font-size: .82rem; color: var(--ink); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-stats .stat span { display: block; font-size: .68rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stats .stat b, .hero-stats .stat span { white-space: normal; overflow: visible; text-overflow: clip; }
}

/* logo banner reused from the original identity */
.legacy-banner { padding: 0; }
.legacy-banner img { width: 100%; display: block; }

/* -------------------- page header (sub pages) -------------------- */
.page-head {
  padding: 38px 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: .6em; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--brand); }
.page-head p.lead { color: var(--ink-soft); max-width: 50em; font-size: 1.05rem; }

/* -------------------- sections / cards -------------------- */
main { display: block; }
.section { padding: 46px 0; }
.section.alt { background: var(--paper); }
.section-title { margin-bottom: .2em; }

.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; height: 100%;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--brand-tint); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.card .icon svg { width: 22px; height: 22px; fill: var(--brand); }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: .96rem; }

.list-check { list-style: none; padding: 0; }
.list-check li {
  position: relative; padding-left: 1.7em; margin-bottom: .55em; color: var(--ink);
}
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--s5), var(--brand));
}

.callout {
  background: var(--brand-tint); border: 1px solid #f3d7de;
  border-radius: var(--radius); padding: 20px 22px;
}
.callout h3 { margin-top: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 700;
  padding: 12px 20px; border-radius: 999px; font-size: .95rem;
}
.btn:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.btn.ghost {
  background: #fff; color: var(--brand); border: 1.5px solid var(--brand);
}
.btn.ghost:hover { background: var(--brand-tint); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }

table.pricegrid { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .92rem; }
table.pricegrid th, table.pricegrid td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line);
}
table.pricegrid th { color: var(--brand); font-family: Verdana, Arial, sans-serif; }

/* -------------------- product photo trio (shirts) -------------------- */
.photo-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.photo-card img { aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.photo-card .cap { padding: 14px 16px; }
.photo-card .cap h3 { margin-bottom: .3em; }
.spec-row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--ink-soft); margin-top: .6em; }
.spec-row b { color: var(--ink); }

/* -------------------- before/after (EBV) -------------------- */
.ba-hover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 18px; }
.ba-hover {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 230px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden; cursor: pointer;
}
.ba-hover-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.ba-hover-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(17,17,17,.72); color: #fff; font-size: .72rem;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .15s ease; pointer-events: none;
}
.ba-hover-badge.is-after { background: var(--brand); }
.ba-hover-caption { padding: 10px 2px 0; color: var(--ink-soft); font-size: .88rem; text-align: center; }
@media (max-width: 800px) {
  .ba-hover-grid { grid-template-columns: 1fr; }
  .ba-hover { height: 260px; }
}

/* -------------------- stamps grid -------------------- */
.stamp-grid img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stamp-grid .card { text-align: center; }
.stamp-grid p { font-size: .85rem; color: var(--ink-soft); margin: .6em 0 0; }

/* -------------------- gallery / lightbox -------------------- */
.gallery-cat { margin-bottom: 40px; }
.gallery-cat h3 { display: flex; align-items: center; gap: 10px; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
  gap: 10px;
}
.gallery-grid a {
  display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4/3; background: var(--paper);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,.92);
  display: none; align-items: center; justify-content: center; z-index: 1000;
  padding: 30px 16px; flex-direction: column;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: min(92vw, 1000px); max-height: 74vh; border-radius: 6px; }
.lightbox-caption { color: #f2f2f2; text-align: center; margin-top: 14px; font-size: .95rem; max-width: 700px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
}

/* -------------------- timeline (Unternehmen) -------------------- */
.timeline { position: relative; margin-left: 6px; padding-left: 30px; border-left: 3px solid var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -37px; top: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint);
}
.tl-year { font-family: Verdana, Arial, sans-serif; font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.tl-item p { color: var(--ink-soft); margin-top: .3em; }

/* -------------------- press clippings -------------------- */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .press-grid { grid-template-columns: 1fr; } }
.press-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.press-item img { display: block; }
.press-item .cap { padding: 12px 14px; font-size: .85rem; color: var(--ink-soft); }

/* -------------------- contact -------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-item .icon {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: var(--brand-tint); display: flex; align-items: center; justify-content: center;
}
.contact-item .icon svg { width: 20px; height: 20px; fill: var(--brand); }
.contact-item h3 { margin-bottom: .15em; font-size: 1rem; }
.contact-item p { margin: 0; color: var(--ink-soft); }
.contact-item a { color: var(--ink); font-weight: 600; }
.contact-item a:hover { color: var(--brand); }

.map-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* -------------------- footer -------------------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); margin-top: 20px; }
.footer-logo-banner { width: 100%; line-height: 0; border-bottom: 1px solid var(--line); }
.footer-logo-banner img { width: 100%; height: auto; display: block; }
.footer-top { padding: 46px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: Verdana, Arial, sans-serif; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--brand); margin-bottom: .9em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55em; }
.footer-grid a { color: var(--ink-soft); font-size: .93rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-brand .brand-word { font-size: 1.3rem; }
.footer-brand p { color: var(--ink-soft); font-size: .92rem; margin-top: .8em; max-width: 30em; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--brand); }
.social-row svg { width: 17px; height: 17px; fill: var(--ink-soft); }
.social-row a:hover svg { fill: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center;
}
.footer-bottom small { color: var(--ink-soft); font-size: .82rem; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: var(--ink-soft); font-size: .82rem; }
.footer-legal a:hover { color: var(--brand); }

/* -------------------- misc utility -------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: .87rem; color: var(--ink-soft); }
.badge {
  display: inline-block; background: var(--brand-tint); color: var(--brand);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 999px; margin-bottom: .8em;
}
