/* ganzert.cubus.ro. One stylesheet, no web fonts, no JavaScript.
   Colours from Ganzert's own material: the black bear, the grey of the old site (#eaebeb panel, #4a4a4a text),
   the pink of the hang tags on the rolls, and the old site's red links (darkened for contrast). */
:root {
  --ink: #1b1b1b;
  --text: #4a4a4a;
  --muted: #6b7072;
  --line: #dcdfe0;
  --panel: #eaebeb;
  --pink: #f7a1aa;
  --pink-soft: #fdeef0;
  --red: #c4122f;
  --red-dark: #9e0e26;
  --felt: #3b3e41;
  --r: 10px;
  --wrap: 1140px;
  --font: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--text); background: #fff; }
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.7rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); margin: 2.4rem 0 .8rem; }
h3 { font-size: 1.15rem; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- header */
.site-head { background: #fff; border-bottom: 1px solid var(--line); }
.head-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand call" "nav nav"; align-items: center; column-gap: 1rem; padding-top: .6rem; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; padding: .2rem 0; }
.brand img { width: auto; height: 46px; }
.brand-name { display: flex; flex-direction: column; font-weight: 600; font-size: 1.2rem; line-height: 1.1; letter-spacing: -.01em; }
.brand-name small { font-weight: 400; font-size: .85rem; color: var(--muted); letter-spacing: .03em; margin-top: .1rem; }
.head-call { grid-area: call; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 44px; min-height: 44px; border-radius: 999px; border: 2px solid var(--red); color: var(--red); text-decoration: none; font-weight: 600; font-size: .95rem; }
.head-call span { display: none; }
.head-call:hover { background: var(--red); color: #fff; }
.main-nav { grid-area: nav; }
/* Phones and tablets: every item visible, no sideways scrolling (3 per row on a phone, one row from ~600 px) */
.main-nav ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.3rem, 1fr)); gap: .35rem; list-style: none; margin: 0; padding: .55rem 0 .75rem; }
.main-nav a { display: block; padding: .5rem .3rem; border-radius: 999px; background: #f3f4f4; color: var(--ink); text-align: center; text-decoration: none; font-size: .93rem; white-space: nowrap; }
.main-nav a:hover { background: var(--panel); color: var(--ink); }
.main-nav a[aria-current] { background: var(--pink); }
@media (min-width: 960px) {
  .site-head { position: sticky; top: 0; z-index: 20; }
  .head-row { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav call"; padding-block: .55rem; }
  .main-nav { justify-self: end; }
  .main-nav ul { display: flex; gap: .25rem; padding: 0; }
  .main-nav a { padding: .5rem .8rem; background: none; font-size: .95rem; }
  .head-call { padding: 0 1rem; }
  .head-call span { display: inline; }
}

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .65rem 1.15rem; border-radius: 999px; border: 2px solid var(--red); background: var(--red); color: #fff; font-weight: 600; text-decoration: none; line-height: 1.2; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- home: hero, tag, mosaic */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); padding: clamp(1.6rem, 5vw, 4rem) 0; overflow: hidden; }
.hero-grid { display: grid; gap: 1.6rem; align-items: center; }
.kicker { margin: 0 0 .7rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(2rem, 1.25rem + 3.4vw, 3.5rem); max-width: 17ch; margin-bottom: .9rem; }
.hero .lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #3a3c3d; max-width: 56ch; margin: 0; }
.hero-sub p { margin: .7rem 0 0; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 0; }
.tag { position: relative; width: 112px; padding: 1.5rem .9rem .9rem; background: var(--pink); border-radius: 12px; transform: rotate(4deg); box-shadow: 0 12px 26px rgba(0, 0, 0, .13); }
.tag::before { content: ""; position: absolute; top: 9px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .18); }
.tag::after { content: ""; position: absolute; bottom: calc(100% - 15px); left: 50%; width: 2px; height: 60px; background: #9a9a9a; transform-origin: bottom; transform: rotate(-20deg); }
.tag img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) {
  /* phones: a small tag in the top right corner, so the headline stays near the top */
  .hero { position: relative; }
  .hero-tag { position: absolute; top: 6px; right: clamp(14px, 4vw, 32px); padding-top: 22px; }
  .tag { width: 74px; padding: 1rem .5rem .5rem; border-radius: 9px; box-shadow: 0 8px 16px rgba(0, 0, 0, .12); }
  .tag::before { top: 6px; width: 9px; height: 9px; margin-left: -4.5px; }
  .tag::after { height: 40px; bottom: calc(100% - 10px); }
  .hero .kicker { padding-right: 86px; }
  .hero h1 { padding-right: 80px; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 260px; gap: 3rem; }
  .hero-tag { padding-top: 2.5rem; }
  .tag { width: 220px; padding: 2.6rem 1.6rem 1.6rem; border-radius: 16px; }
  .tag::before { top: 14px; width: 18px; height: 18px; margin-left: -9px; }
  .tag::after { height: 90px; bottom: calc(100% - 22px); }
}
.mosaic { padding-top: 1.25rem; }
.mosaic ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.mosaic a { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--panel); }
.mosaic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.mosaic a:hover img { transform: scale(1.04); }
.chip { position: absolute; left: .55rem; bottom: .55rem; padding: .2rem .7rem; border-radius: 999px; background: rgba(32, 34, 35, .82); color: #fff; font-size: .9rem; font-weight: 600; }
@media (min-width: 900px) { .mosaic ul { grid-template-columns: repeat(4, 1fr); gap: 1rem; } .mosaic { padding-top: 2rem; } }

/* ---------------------------------------------------------------- page head */
.page-head { background: var(--panel); border-bottom: 1px solid var(--line); padding: 1rem 0 1.6rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .35rem; margin: 0 0 .7rem; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }
.crumbs a { display: inline-block; padding: .25rem 0; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs a[aria-current] { color: var(--ink); }
.ph-grid { display: grid; gap: 1.25rem; align-items: center; }
.page-head .lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #3a3c3d; max-width: 60ch; margin: .4rem 0 0; }
.ph-img { margin: 0; }
.ph-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: 0 10px 28px rgba(0, 0, 0, .1); }
@media (min-width: 900px) {
  .page-head { padding: 1.4rem 0 2.2rem; }
  .ph-grid.has-img { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .ph-img img { max-height: 340px; }
}
.subnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.3rem 0 0; padding: 0; }
.subnav a { display: inline-block; padding: .4rem .85rem; border: 1px solid #c4c8ca; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; }
.subnav a:hover { border-color: var(--ink); color: var(--ink); }
.subnav a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- text */
.prose { padding-block: 1.4rem 1rem; }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3 { max-width: 72ch; }
.prose > h2:first-child { margin-top: 1rem; }
.prose li { margin: .25rem 0; }
.prose li::marker { color: var(--red); }
.home > h2 { margin-top: 3rem; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: 1rem; margin: 1.2rem 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--text); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { color: var(--text); border-color: #b9bec0; box-shadow: 0 8px 22px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.card-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--panel); }
.card-text { border-top: 5px solid var(--pink); }
.card-body { display: flex; flex-direction: column; gap: .45rem; flex: 1; padding: 1rem 1.15rem 1.2rem; }
.card-title { color: var(--ink); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.card-teaser { font-size: .95rem; }
.card-meta { font-size: .8rem; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .3rem; color: var(--red); font-weight: 600; font-size: .95rem; }
.card-visual.felt { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .3rem; aspect-ratio: 4 / 3; color: #fff; background-color: var(--felt);
  background-image: repeating-linear-gradient(35deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 5px), repeating-linear-gradient(-50deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 4px); }
.card-visual .big { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 600; letter-spacing: -.02em; }
.card-visual span:last-child { font-size: .85rem; letter-spacing: .18em; opacity: .85; }

/* ---------------------------------------------------------------- datasheets */
.sheet-group h3 { margin: 2rem 0 .9rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sheets { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.sheet { position: relative; display: flex; flex-direction: column; padding: 1.15rem 1.2rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; scroll-margin-top: 90px; }
.sheet::before { content: ""; position: absolute; top: -1px; left: 1.2rem; width: 38px; height: 6px; border-radius: 0 0 4px 4px; background: var(--pink); }
.sheet h4 { margin: .2rem 0 .3rem; font-size: 1.15rem; }
.purpose { margin: 0 0 .9rem; font-size: .92rem; color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1rem; margin: 0 0 1rem; }
.specs div { min-width: 0; }
.specs .wide { grid-column: 1 / -1; }
.specs dt { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; color: var(--ink); font-size: .95rem; overflow-wrap: anywhere; }
.specs dd ul { margin: .1rem 0 0; padding-left: 1.05rem; }
.specs dd li { margin: .1rem 0; }
.sheet-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: auto 0 .5rem; }
.pdf, .cert-links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .8rem; border-radius: 8px; background: var(--panel); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.pdf small { font-weight: 400; color: var(--muted); }
.pdf:hover, .cert-links a:hover { background: var(--pink-soft); color: var(--ink); }
.pdf .ic, .cert-links .ic { fill: var(--red); }
.stand { margin: 0; font-size: .78rem; color: var(--muted); }

.dl-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .95rem; }
.dl-table th, .dl-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.dl-table thead th { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dl-table tbody th { font-weight: 600; }
.dl-table th a { color: var(--ink); }
.dl-table small { color: var(--muted); }
@media (max-width: 639px) {
  .dl-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dl-table tr { display: flex; flex-wrap: wrap; gap: .2rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .dl-table th, .dl-table td { padding: 0; border: 0; }
  .dl-table a { display: inline-block; padding: .3rem 0; }
  .dl-table tbody th { flex-basis: 100%; }
  .dl-table td:last-child { color: var(--muted); }
  .dl-table td:last-child:not(.na)::before { content: "Stand "; }
}
.pdf-list { list-style: none; padding: 0; margin: 1rem 0; columns: 2 260px; column-gap: 2rem; }
.pdf-list li { break-inside: avoid; padding: .25rem 0; }
.pdf-list a { display: inline-flex; align-items: center; gap: .4rem; }
.pdf-list small { color: var(--muted); }

/* ---------------------------------------------------------------- certificates, catalogue */
.certs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin: 1.2rem 0; }
.cert { padding: 1.1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--r); border-top: 5px solid var(--ink); }
.cert p { margin: 0 0 .7rem; font-size: .92rem; }
.cert .cert-title { margin-bottom: .35rem; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.cert-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 !important; }
.catalogue { display: flex; align-items: center; gap: 1.1rem; max-width: 540px; margin: 1rem 0; padding: .9rem 1.1rem .9rem .9rem; border: 1px solid var(--line); border-radius: var(--r); color: var(--text); text-decoration: none; }
.catalogue:hover { border-color: #b9bec0; box-shadow: 0 8px 22px rgba(0, 0, 0, .08); color: var(--text); }
.cat-cover { width: 88px; height: auto; border-radius: 3px; box-shadow: 0 3px 10px rgba(0, 0, 0, .15); }
.catalogue > span { display: flex; flex-direction: column; gap: .2rem; }
.catalogue strong { color: var(--ink); font-size: 1.1rem; }
.catalogue small { display: inline-flex; align-items: center; gap: .35rem; color: var(--red); font-weight: 600; }
.catalogue small .ic { fill: var(--red); }

/* ---------------------------------------------------------------- contact, request */
.contact-card { display: grid; gap: 1.2rem; margin: 1rem 0; padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--panel); }
.contact-card p { margin: 0 0 .5rem; }
.contact-name { color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.contact-addr a { display: inline-flex; align-items: center; gap: .35rem; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
@media (min-width: 760px) { .contact-card { grid-template-columns: 1fr auto; align-items: center; } }
.team { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin: 1rem 0; }
.team > div { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); }
.team dt { margin-bottom: .35rem; color: var(--ink); font-weight: 600; }
.team dd { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .35rem 0; border-top: 1px dashed var(--line); }
.team dd a { white-space: nowrap; }
.ask { display: grid; gap: 1rem; margin: 2.6rem 0 1rem; padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--pink-soft); border-left: 6px solid var(--pink); }
.ask p { margin: 0; }
.ask .ask-title { margin-bottom: .3rem; color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.ask-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 860px) { .ask { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------------------------------------------------------------- footer */
.site-foot { margin-top: 3rem; padding: 2.4rem 0 1.4rem; background: var(--panel); border-top: 1px solid var(--line); font-size: .95rem; }
.foot-grid { display: grid; gap: 1.6rem 1.2rem; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.1rem; }
.foot-brand img { width: 52px; height: auto; }
.foot-brand p { margin: 0; }
.foot-brand strong { color: var(--ink); }
.foot-h { margin: 0 0 .5rem; color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: .05rem 0; }
.site-foot li a { display: inline-block; padding: .3rem 0; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.site-foot li a:hover { color: var(--red); text-decoration: underline; }
.foot-legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #d2d5d6; font-size: .8rem; color: var(--muted); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; align-items: flex-start; } .foot-brand img { width: 64px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .mosaic a:hover img, .card:hover { transform: none; } }
@media print {
  .site-head, .main-nav, .head-call, .ask, .subnav, .mosaic, .hero-tag { display: none !important; }
  .page-head, .hero, .site-foot { background: none; }
  a { color: inherit; }
}
