/* SALVAS – neue Seite im Stil von Header-Beispiel 1 «Wabe»
   Farben oben in :root anpassen. */

:root {
  --pay: #017f8d; --pay-light: #3fc3d1; --pay-deep: #0b3a40; --pay-dark: #015a64; --pay-tint: #e8f3f4;
  --tel: #dbb101; --tel-dark: #a88800; --tel-ink: #2e2600; --tel-tint: #fcf6df;
  --bg: #061f22; --ink: #142527; --muted: #5b6b6d; --line: #e1e9ea; --soft: #f4f7f7;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 28 49'%3E%3Cpath fill='%23ffffff' fill-opacity='.045' d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/svg%3E");
  --comb-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 28 49'%3E%3Cpath fill='%23017f8d' fill-opacity='.06' d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }

/* Typo-Bausteine */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pay); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 11px; height: 12px; background: var(--tel); clip-path: var(--hex); }
.eyebrow.gold { color: var(--tel-dark); }
.eyebrow.gold::before { background: var(--pay); }
.dark .eyebrow, .hero .eyebrow { color: var(--tel); }
.dark .eyebrow::before, .hero .eyebrow::before { background: currentColor; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; line-height: 1.05; color: var(--pay-deep); }
h2 .p, .hl-p { color: var(--pay); }
h2 .t, .hl-t { color: var(--tel-dark); }
.dark h2 { color: #fff; }
.dark h2 .p { color: var(--pay-light); }
.dark h2 .t { color: var(--tel); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--muted); }
.dark .lead, .dark p { color: rgba(255,255,255,.78); }
.center { text-align: center; }
.head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-p { background: var(--pay); color: #fff; box-shadow: 0 10px 26px rgba(1,127,141,.35); }
.btn-p:hover { background: #029aa9; }
.btn-t { background: var(--tel); color: var(--tel-ink); box-shadow: 0 10px 26px rgba(219,177,1,.3); }
.btn-t:hover { background: #ebc10f; }
.btn-o { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn-o:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn-line { color: var(--pay-deep); background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--pay); }
.btn-dark { background: var(--pay-deep); color: #fff; }
.btn-ink { background: var(--tel-ink); color: var(--tel); }

/* Sechseck-Icon */
.hexi { flex: none; width: 58px; aspect-ratio: 1 / 1.1547; clip-path: var(--hex); display: grid; place-items: center; }
.hexi svg { width: 44%; height: auto; }
.hexi.p { background: linear-gradient(160deg, #04a3b3, var(--pay) 60%, #016470); color: #fff; }
.hexi.t { background: linear-gradient(160deg, #f2cc2a, var(--tel) 60%, #b89400); color: var(--tel-ink); }
.hexi.d { background: rgba(255,255,255,.08); color: var(--tel); }

/* Dunkle Flächen (wie Hero) */
.dark {
  color: #fff; overflow: hidden;
  background:
    radial-gradient(45% 55% at 85% 30%, rgba(1,127,141,.35), transparent 70%),
    radial-gradient(35% 45% at 10% 90%, rgba(219,177,1,.16), transparent 70%),
    linear-gradient(160deg, #0b3a40 0%, var(--bg) 70%);
}
.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: var(--comb); -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); }
.dark > .wrap { position: relative; z-index: 1; }
.light-comb::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--comb-dark); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.light-comb > .wrap { position: relative; z-index: 1; }

/* ===== Navigation ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav .logo img { height: 44px; width: auto; }
.nav .logo .on-light { display: none; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; align-items: center; }
.nav ul a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.nav ul a:hover { color: #fff; }
.dot { width: 9px; height: 10px; clip-path: var(--hex); display: inline-block; }
.dot.p { background: var(--pay-light); } .dot.t { background: var(--tel); }
.nav .cta { background: var(--tel); color: var(--tel-ink) !important; padding: 11px 22px; border-radius: 999px; font-weight: 700; }
.nav .cta:hover { background: #ebc10f; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
/* nach dem Hero: hell mit blauem Logo */
.nav.solid { background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(10px); box-shadow: 0 6px 24px rgba(11,58,64,.08); }
.nav.solid::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, var(--pay) 0 50%, var(--tel) 50% 100%); }
.nav.solid .logo .on-dark { display: none; }
.nav.solid .logo .on-light { display: block; }
.nav.solid ul a { color: var(--ink); }
.nav.solid ul a:hover { color: var(--pay); }
.nav.solid .dot.p { background: var(--pay); }
.nav.solid .cta { background: var(--pay); color: #fff !important; }
.nav.solid .cta:hover { background: #029aa9; }
.nav.solid .menu-toggle { color: var(--pay-deep); }

/* ===== Hero (= Header-Beispiel 1) ===== */
.hero {
  position: relative; overflow: hidden; color: #fff; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 120px 0 70px;
  background:
    radial-gradient(45% 55% at 78% 45%, rgba(1,127,141,.45), transparent 70%),
    radial-gradient(35% 45% at 92% 90%, rgba(219,177,1,.22), transparent 70%),
    linear-gradient(160deg, #0b3a40 0%, var(--bg) 70%);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: var(--comb); -webkit-mask-image: radial-gradient(70% 80% at 75% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 80% at 75% 50%, #000 0%, transparent 75%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; width: 100%; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 26px; }
.hero h1 .p { color: var(--pay-light); }
.hero h1 .t { color: var(--tel); }
.hero .lead { color: rgba(255,255,255,.78); max-width: 33em; margin: 0 0 34px; }
.refs { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.refs small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; margin-bottom: 16px; }
.refs-logos { display: flex; }
.refs-set { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.refs-dup { display: none; }
.refs-logos img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .82; transition: opacity .2s; }
.refs-logos img.lg { height: 40px; }
.refs-logos img.keep { filter: none; }
.refs-logos img:hover { opacity: 1; }

.comb { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin-left: auto; }
.cell { position: absolute; clip-path: var(--hex); display: grid; place-items: center; text-align: center; text-decoration: none; transition: transform .3s ease, filter .3s ease; }
.cell svg { width: 30%; height: auto; }
.cell.big { width: 44%; aspect-ratio: 1 / 1.1547; padding: 0 4%; }
.cell.big > span { width: 100%; }
.cell.big b { white-space: nowrap; display: block; font-size: clamp(1.05rem, 1.8vw, 1.45rem); letter-spacing: -.01em; margin-top: 4px; }
.cell.big small { max-width: 70%; margin: 2px auto 0; display: block; font-size: clamp(.7rem, .9vw, .8rem); opacity: .85; line-height: 1.3; }
.cell.big svg { width: 34%; margin: 0 auto 6px; }
a.cell:hover { transform: translateY(-6px) scale(1.03); filter: brightness(1.08); }
.cell.pay { left: 3%; top: 31%; background: linear-gradient(160deg, #04a3b3, var(--pay) 60%, #016470); color: #fff; }
.cell.tel { right: 3%; top: 31%; background: linear-gradient(160deg, #f2cc2a, var(--tel) 60%, #b89400); color: var(--tel-ink); }
.cell.core { width: 30%; aspect-ratio: 1 / 1.1547; left: 35%; top: 6%; background: none; clip-path: none; }
.cell.core img { width: 78%; filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(63,195,209,.45)); }
.cell.mini { width: 17%; aspect-ratio: 1 / 1.1547; color: #fff; }
.cell.mini svg { width: 42%; }
.m2 { left: 9%; top: 9%; background: rgba(1,127,141,.55); }
.m3 { right: 9%; top: 9%; background: rgba(219,177,1,.55); color: var(--tel-ink) !important; }
.m4 { left: 24%; top: 82%; background: rgba(1,127,141,.35); }
.m5 { right: 24%; top: 82%; background: rgba(219,177,1,.35); color: var(--tel-ink) !important; }
.ring { position: absolute; clip-path: var(--hex); background: rgba(255,255,255,.14); }
.ring::after { content: ""; position: absolute; inset: 2px; clip-path: var(--hex); background: var(--bg); }
.r1 { width: 12%; aspect-ratio: 1/1.1547; left: -2%; top: 70%; opacity: .6; }
.r2 { width: 9%; aspect-ratio: 1/1.1547; right: 0; top: 0; opacity: .5; }
.r3 { width: 7%; aspect-ratio: 1/1.1547; left: 30%; top: 0; opacity: .4; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mini, .ring { animation: float 6s ease-in-out infinite; }
.m3, .r2 { animation-delay: -2s; } .m4, .r3 { animation-delay: -4s; } .m5 { animation-delay: -1s; }
@media (prefers-reduced-motion: reduce) { .mini, .ring { animation: none; } html { scroll-behavior: auto; } }
.scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 1; }
.scroll::after { content: ""; width: 1px; height: 26px; background: linear-gradient(rgba(255,255,255,.5), transparent); }

/* ===== Kennst du das? ===== */
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pain { background: #fff; border-radius: 22px; padding: 34px 34px 30px; box-shadow: 0 18px 44px rgba(11,58,64,.08); border-top: 5px solid var(--pay); }
.pain.t { border-top-color: var(--tel); }
.pain-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pain-head h3 { font-size: 1.35rem; margin: 0; color: var(--pay-deep); }
.pain ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pain li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.pain li::before { content: ""; flex: none; width: 13px; height: 15px; margin-top: 6px; clip-path: var(--hex); background: var(--pay); }
.pain.t li::before { background: var(--tel); }
.statement { margin: clamp(40px, 5vw, 60px) auto 0; max-width: 820px; text-align: center; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.35; color: var(--pay-deep); letter-spacing: -.01em; }
.statement .sp { color: var(--pay); }
.statement .st { color: var(--tel-dark); }

/* ===== Bereich (Payroll / Telemarketing) ===== */
.area-sec.p { background: var(--soft); }
.area-sec.t { background: linear-gradient(180deg, #fff 0%, var(--tel-tint) 100%); }
.area-top { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.area-top .big-word { display: block; margin: 0 0 14px; font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin-bottom: 14px; }
.area-sec.p .big-word { color: var(--pay); }
.area-sec.t .big-word { color: var(--tel); }
.area-top .area-sub { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.035em; line-height: 1.05; color: var(--pay-deep); margin: 0 0 .5em; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile { background: #fff; border-radius: 20px; padding: 24px 22px 22px; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,58,64,.1); }
.area-sec.p .tile:hover { border-color: var(--pay); }
.area-sec.t .tile:hover { border-color: var(--tel); }
.tile .hexi { width: 52px; margin-bottom: 14px; }
.tile h3 { font-size: 1.1rem; color: var(--pay-deep); margin-bottom: 6px; }
.tile p { font-size: .95rem; color: var(--muted); margin: 0; }

.person { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; margin-top: clamp(48px, 6vw, 72px); padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(11,58,64,.08); }
.hexphoto { position: relative; width: 150px; aspect-ratio: 1 / 1.1547; flex: none; }
.hexphoto::before { content: ""; position: absolute; inset: -7px; clip-path: var(--hex); }
.hexphoto.p::before { background: linear-gradient(160deg, #04a3b3, var(--pay)); }
.hexphoto.t::before { background: linear-gradient(160deg, #f2cc2a, var(--tel)); }
.hexphoto img { position: relative; width: 100%; height: 100%; object-fit: cover; clip-path: var(--hex); }
.person-name { font-size: 1.35rem; font-weight: 800; color: var(--pay-deep); letter-spacing: -.01em; }
.person-role { font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.area-sec.p .person-role { color: var(--pay); }
.area-sec.t .person-role { color: var(--tel-dark); }
.person p { color: var(--muted); margin: 0 0 16px; }
.person .actions .btn { padding: 12px 22px; font-size: .95rem; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.quote { margin: 0; background: #fff; border-radius: 20px; padding: 26px 28px 22px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote img { height: 32px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
.quote img.lg { height: 44px; }
.quote blockquote { margin: 0 0 14px; font-size: .98rem; }
.quote figcaption { margin-top: auto; font-size: .88rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); }

/* ===== Über SALVAS (dunkel) ===== */
.about .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-img { position: relative; max-width: 460px; width: 100%; aspect-ratio: 1 / 1.1547; margin: 0 auto; }
.about-img::before { content: ""; position: absolute; inset: -12px; clip-path: var(--hex); background: linear-gradient(135deg, var(--pay-light) 0 50%, var(--tel) 50% 100%); opacity: .9; }
.about-img img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 27% 50%; clip-path: var(--hex); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 34px; }
.value { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.value .hexi { width: 54px; }
.value b { font-size: 1.02rem; }
.value span { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.4; }

/* ===== Kontakt ===== */
.contacts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.ccard { border-radius: 24px; padding: 34px 28px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ccard .hexphoto { width: 112px; margin-bottom: 18px; }
.ccard h3 { font-size: 1.3rem; margin-bottom: 2px; }
.ccard .sub { font-size: .9rem; margin-bottom: 20px; opacity: .85; }
.ccard .btn { width: 100%; margin-top: auto; }
.ccard.p { background: linear-gradient(160deg, #04a3b3, var(--pay) 55%, #016470); color: #fff; }
.ccard.t { background: linear-gradient(160deg, #f2cc2a, var(--tel) 55%, #c9a200); color: var(--tel-ink); }
.ccard.p .hexphoto::before, .ccard.t .hexphoto::before { background: rgba(255,255,255,.55); }
.ccard.m { background: var(--soft); border: 1px solid var(--line); }
.ccard.m .core-hex { width: 112px; aspect-ratio: 1 / 1.1547; clip-path: var(--hex); background: linear-gradient(160deg, #0b3a40, var(--bg)); display: grid; place-items: center; margin-bottom: 18px; }
.ccard.m .core-hex img { width: 56%; filter: brightness(0) invert(1); }
.ccard.m .core-logo { width: 112px; aspect-ratio: 1 / 1.1547; display: grid; place-items: center; margin-bottom: 18px; }
.ccard.m .core-logo img { width: 92%; }
.ccard.m h3 { color: var(--pay-deep); }
.ccard.m ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.ccard.m ul a { text-decoration: none; font-weight: 700; color: var(--pay-deep); }
.ccard.m ul a:hover { color: var(--pay); }

/* ===== Footer ===== */
.footer { padding: 64px 0 28px; font-size: .94rem; }
.footer .wrap { position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .logo img { height: 44px; width: auto; margin-bottom: 18px; }
.footer h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tel); margin: 6px 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: rgba(255,255,255,.78); }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,.78); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: rgba(255,255,255,.6); }
.foot-bottom nav { display: flex; gap: 22px; }

/* Nur sichtbar, wenn Google Analytics in js/analytics.js aktiviert ist */
html:not(.ga-on) [data-analytics="on"], html.ga-on [data-analytics="off"] { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1060px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav ul { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: #0b3a40; }
  .nav.solid ul { background: #fff; border-bottom: 1px solid var(--line); }
  .nav ul.open { display: flex; }
  .nav ul li a { display: flex; padding: 12px 4px; }
  .nav .cta { justify-content: center; margin-top: 8px; }
  .hero { min-height: 0; padding: 88px 0 56px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero .wrap > * { min-width: 0; }
  /* Mobil kompakter und höher: gleiche Kachelgrösse, weniger Leerraum oben und unten */
  .comb { max-width: 460px; aspect-ratio: 1 / .9; margin: 0 auto; order: -1; }
  .cell.core { top: 0; }
  .m2, .m3 { top: 2.2%; }
  .cell.pay, .cell.tel { top: 21.1%; }
  .m4, .m5 { top: 77.8%; }
  .r1 { top: 66%; }
  .scroll { display: none; }
  .pains, .area-top, .quotes, .about .wrap, .contacts { grid-template-columns: 1fr; }
  .about-img { max-width: 360px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* Referenzlogos mobil als endloser Slider */
@media (max-width: 640px) {
  .refs-slider { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .refs-logos { width: max-content; animation: refs-scroll 20s linear infinite; }
  .refs-set { flex-wrap: nowrap; flex: none; gap: 44px; padding-right: 44px; }
  .refs-dup { display: flex; }
}
@keyframes refs-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .refs-logos { animation: none; width: auto; }
  .refs-set { flex-wrap: wrap; }
  .refs-dup { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav .logo img { height: 36px; }
  .actions .btn { width: 100%; }
  .cell.big small { display: none; }
  .cell.big { padding: 0 6%; }
  .cell.big b { font-size: .92rem; letter-spacing: -.02em; }
  .tiles, .values { grid-template-columns: 1fr; }
  .pain { padding: 26px 22px; }
  .person { grid-template-columns: 1fr; padding: 24px 20px; justify-items: start; }
  .hexphoto { width: 120px; }
  .foot-grid { grid-template-columns: 1fr; }
}
