/* ===== REAL-MARKEN — Stylesheet =====
   Gemeinsames Layout für realink / realprint / youprint / realpaper.
   Pro Marke unterscheidet sich nur der :root-Farbblock. */

/* --- BRAND: realink (Rot) --- */
:root {
  --brand: #d32f2f;
  --brand-dark: #9a1b1b;
  --brand-light: #ff6659;
  --brand-soft: #fdecea;
  --on-brand: #ffffff;
  --hero-grad-a: #b71c1c;
  --hero-grad-b: #e53935;
  --ink: #1c1b1b;
  --muted: #6b6462;
  --bg: #ffffff;
  --bg-alt: #faf7f6;
  --card: #ffffff;
  --line: #eee4e2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(30, 10, 10, .10);
  --maxw: 1140px;
}

/* --- Basis --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: .6rem;
}
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head p { color: var(--muted); margin: 0; }

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* --- Header --- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo .l-a { color: var(--brand); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }

.lang-box select {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  border-radius: 10px;
  padding: 7px 30px 7px 12px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
[dir="rtl"] .lang-box select { padding: 7px 12px 7px 30px; background-position: left 10px center; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 158px 0 96px;
  color: var(--on-brand);
  background: linear-gradient(135deg, var(--hero-grad-a), var(--hero-grad-b) 55%, var(--brand-light));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 -2px 0; height: 70px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.hero-bird {
  position: absolute; right: -40px; top: -60px;
  width: 520px; height: 520px; opacity: .12; pointer-events: none;
}
[dir="rtl"] .hero-bird { right: auto; left: -40px; transform: scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; }
.hero .kicker {
  text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .82rem;
  opacity: .92; margin-bottom: 14px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: rgba(255, 255, 255, .85); }
.hero .sub { font-size: 1.12rem; max-width: 540px; opacity: .94; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .75); color: #fff; }
.btn-brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600;
}
.hero-art img {
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .35));
  max-height: 440px; margin: 0 auto;
}

/* --- Produkt-Kategorien / Galerie --- */
.cat-block { margin-bottom: 56px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-block h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.3rem; margin-bottom: 22px;
}
.cat-block h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 16px; background: #fff; }
.card .ph img { max-height: 100%; object-fit: contain; }
.card .cap { padding: 12px 16px 14px; font-size: .88rem; font-weight: 600; border-top: 1px solid var(--line); }
.card .cap small { display: block; color: var(--muted); font-weight: 500; }
.banner-img { border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 26px; cursor: zoom-in; }

/* --- Qualität --- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
.feature .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* --- Über uns --- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-grid p { color: var(--muted); }
.about-art { position: relative; }
.about-art img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-art .bird-badge {
  position: absolute; right: -18px; bottom: -18px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.about-art .bird-badge svg { width: 52px; height: 52px; }

/* --- Markenfamilie --- */
.family { text-align: center; }
.family .section-head { margin-left: auto; margin-right: auto; }
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.fam-card {
  border-radius: var(--radius); padding: 26px 16px 22px; color: #fff; font-weight: 800; font-size: 1.12rem;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .2s ease;
}
.fam-card:hover { transform: translateY(-4px); text-decoration: none; }
.fam-card svg { width: 40px; height: 40px; }
.fam-card small { font-weight: 500; font-size: .78rem; opacity: .9; }
.fam-realink { background: linear-gradient(135deg, #b71c1c, #e53935); }
.fam-realprint { background: linear-gradient(135deg, #0d47a1, #1976d2); }
.fam-youprint { background: linear-gradient(135deg, #f9a825, #fdd835); color: #20201a; }
.fam-realpaper { background: linear-gradient(135deg, #1b5e20, #43a047); }
.fam-card.current { outline: 3px solid var(--ink); outline-offset: 3px; }

/* --- Kontakt --- */
.contact-box {
  background: linear-gradient(135deg, var(--hero-grad-a), var(--hero-grad-b));
  color: var(--on-brand);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-box .eyebrow { color: rgba(255, 255, 255, .85); }
.contact-box p { max-width: 520px; margin: 0 auto 26px; opacity: .94; }
.contact-box .btn-light { color: var(--brand-dark); }

/* --- Footer --- */
.site-footer { background: #181414; color: #cfc6c4; padding: 46px 0 30px; margin-top: 84px; font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: #fff; }
.footer-brand svg { width: 28px; height: 28px; }
.legal-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; color: #9b908d; }
.site-footer a { color: #fff; }

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 10, 10, .88);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
  padding: 30px; cursor: zoom-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; background: #fff; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-height: 280px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .family-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--bg);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 22px 16px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, .12);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .lang-box { margin-top: 12px; }
  .section { padding: 60px 0; }
}
@media (max-width: 520px) {
  .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features { grid-template-columns: 1fr; }
  .contact-box { padding: 40px 22px; }
}

/* ===== Rollen-spezifische Sektionen (Projekt 017) ===== */
/* Beispielangebote */
.offers-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.offer { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease; }
.offer:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.offer .ph { aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; padding:16px; background:#fff; }
.offer .ph img, .offer .ph svg { max-height:100%; max-width:100%; object-fit:contain; }
.offer .body { padding:14px 16px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.offer .name { font-weight:700; font-size:.95rem; line-height:1.3; }
.offer .name small { display:block; color:var(--muted); font-weight:500; font-size:.82rem; margin-top:3px; }
.offer .price { font-size:1.35rem; font-weight:800; color:var(--brand); margin-top:auto; }
.offer .price span { font-size:.72rem; font-weight:600; color:var(--muted); }
.offer .obtn { display:block; margin-top:auto; text-align:center; padding:10px 12px; border-radius:10px; background:var(--brand); color:var(--on-brand); font-weight:700; font-size:.85rem; }
.offer .obtn:hover { text-decoration:none; filter:brightness(1.06); }
.offers-note { margin-top:18px; font-size:.82rem; color:var(--muted); }

/* youprint: Sortiments-Breite */
.breadth { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.breadth .b { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px 20px; text-align:center; }
.breadth .b .ic { width:56px;height:56px;margin:0 auto 14px; border-radius:15px; background:var(--brand-soft); color:var(--brand); display:flex;align-items:center;justify-content:center; font-size:1.7rem; }
.breadth .b p { color:var(--muted); font-size:.88rem; margin:.3em 0 0; }

/* realprint: Use-Cases */
.usecases { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.uc { position:relative; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:32px 28px; overflow:hidden; }
.uc .num { font-size:2.8rem; font-weight:800; color:var(--brand); opacity:.18; line-height:1; }
.uc h3 { margin:.1em 0 .4em; }
.uc p { color:var(--muted); margin:0; }
.uc::after { content:""; position:absolute; left:0; top:0; width:5px; height:100%; background:var(--brand); }

/* realpaper: Finder + Grammatur */
.finder { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.fin { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--card); }
.fin .top { height:120px; }
.fin.g1 .top { background:linear-gradient(120deg,#ffffff 0%,#e8f3ec 45%,#bfe3d0 100%); box-shadow:inset 0 0 60px rgba(255,255,255,.6); }
.fin.g2 .top { background:repeating-linear-gradient(135deg,#eef3ef,#eef3ef 8px,#e6ede8 8px,#e6ede8 16px); }
.fin.g3 .top { background:linear-gradient(120deg,#f2f7f4,#d8ebe0); }
.fin .b { padding:18px 20px; }
.fin .b p { color:var(--muted); margin:.3em 0 0; font-size:.9rem; }
.gram { margin-top:34px; }
.gram-bar { display:flex; gap:10px; align-items:flex-end; height:130px; padding-top:24px; }
.gram-col { flex:1; background:linear-gradient(180deg,var(--brand-light),var(--brand)); border-radius:8px 8px 0 0; position:relative; display:flex; justify-content:center; }
.gram-col span { position:absolute; bottom:8px; font-size:.74rem; font-weight:800; color:#fff; }
.gram-col b { position:absolute; top:-22px; left:0; right:0; text-align:center; font-size:.74rem; font-weight:600; color:var(--muted); }

/* realink: Pigment vs. Dye + Lichtechtheit */
.tech2 { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.tcard { border:1px solid var(--line); border-radius:var(--radius); padding:32px 30px; background:var(--card); }
.tcard h3 { display:flex; align-items:center; gap:12px; margin:0 0 .2em; }
.tcard .dot { width:20px;height:20px;border-radius:50%; flex:none; }
.tcard p { color:var(--muted); margin:.5em 0 0; }
.lightband { margin-top:26px; background:linear-gradient(135deg,var(--hero-grad-a),var(--hero-grad-b)); color:var(--on-brand); border-radius:var(--radius); padding:34px 36px; box-shadow:var(--shadow); }
.lightband h3 { margin:0 0 .3em; font-size:1.4rem; } .lightband p { margin:0; opacity:.93; max-width:640px; }

/* Themenwelten-Teaser */
.tw-strip { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.tw-strip img { width:100%; border-radius:var(--radius); box-shadow:var(--shadow); border:1px solid var(--line); display:block; }
.tw-cta { text-align:center; margin-top:28px; }

@media (max-width:960px){
  .offers-grid{grid-template-columns:repeat(2,1fr);}
  .breadth{grid-template-columns:repeat(2,1fr);}
  .usecases{grid-template-columns:1fr;}
  .finder{grid-template-columns:1fr;}
  .tech2{grid-template-columns:1fr;}
  .tw-strip{grid-template-columns:1fr;}
}
@media (max-width:520px){
  .offers-grid{grid-template-columns:1fr;}
  .breadth{grid-template-columns:1fr 1fr;}
}
/* ===== Echte Marken-Logos (Projekt 017) ===== */
.logo .brand-logo { height: 40px; width: auto; display: block; }
.logo { gap: 0; }
.footer-brand .footer-logo { height: 30px; width: auto; background: #fff; padding: 6px 12px; border-radius: 10px; display: block; }
.footer-brand { gap: 0; }
/* Familien-Karten: Wortmarke statt generiertem Kolibri */
.fam-card .fam-name { font-weight: 800; font-size: 1.12rem; }
/* Markenwelt-Banner (schöne Profi-Banner aus dem Content) */
.markenwelt { padding: 0; }
.markenwelt .wrap { max-width: var(--maxw); }
.markenwelt img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
/* Vergleich/Ergiebigkeit-Galerie */
.infograph { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.infograph img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (max-width: 760px){ .infograph { grid-template-columns: 1fr; } }
/* Großes Marken-Logo in der "Warum [Marke]?"-Sektion */
.why-logo { display:block; height:100px; width:auto; margin:0 auto 26px; }
@media (max-width:600px){ .why-logo { height:64px; margin-bottom:18px; } }
/* Logos größer (User-Wunsch "schön groß") */
.logo .brand-logo { height: 52px; }
.footer-brand .footer-logo { height: 38px; }
.why-logo { height: 160px; }
@media (max-width: 600px){ .why-logo { height: 92px; } .logo .brand-logo { height: 44px; } }
/* Logos noch größer (User-Wunsch) */
.header-inner { height: 80px; }
.logo .brand-logo { height: 60px; }
.footer-brand .footer-logo { height: 46px; }
.why-logo { height: 200px; }
@media (max-width: 600px){ .header-inner { height: 64px; } .logo .brand-logo { height: 50px; } .why-logo { height: 110px; } }
/* "real"-Logos so groß wie youprint wirken lassen (kompakteres Seitenverhältnis -> mehr Höhe) */
.header-inner { height: 104px; }
.logo .brand-logo { height: 82px; }
.why-logo { height: 300px; }
@media (max-width: 600px){ .header-inner { height: 72px; } .logo .brand-logo { height: 56px; } .why-logo { height: 150px; } }