/* HR ad Interim – Payroll Spezialistin (hr-salvas.ch) – Stylesheet
   Farben oben in :root anpassen. Gestaltung wie salvas.ch (Sechseck-Motiv), Hauptfarbe Petrol, Akzent Gold. */

: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: 90px; }
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(64px, 8vw, 108px) 0; }
.center { text-align: center; }

/* 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: 0 0 16px; }
.eyebrow::before { content: ""; flex: none; width: 11px; height: 12px; background: var(--tel); clip-path: var(--hex); }
.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; color: var(--pay-deep); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.035em; line-height: 1.06; }
h3 { font-size: 1.25rem; line-height: 1.2; }
.dark h1, .dark h2, .dark h3, .hero h1 { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--muted); }
.dark .lead, .dark p, .hero .lead { color: rgba(255,255,255,.8); }
.head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.rule { width: 56px; height: 4px; background: var(--tel); border-radius: 2px; margin: 0 0 24px; }
.center .rule, .head .rule { margin-left: auto; margin-right: auto; }

/* 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); }

/* 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); }

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

/* ===== 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: 28px; margin: 0; padding: 0; align-items: center; }
.nav ul a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: #fff; }
.nav ul a[aria-current="page"] { box-shadow: 0 2px 0 var(--tel); }
.nav .cta { background: var(--tel); color: var(--tel-ink) !important; padding: 11px 22px; border-radius: 999px; font-weight: 700; box-shadow: none !important; }
.nav .cta:hover { background: #ebc10f; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
/* Untermenü Dienstleistungen */
.has-sub { position: relative; }
.has-sub > a svg { width: 12px; height: 12px; transition: transform .2s; }
.nav .sub { position: absolute; top: 100%; left: -18px; min-width: 290px; padding: 10px; margin-top: 14px; background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(11,58,64,.18); display: none; flex-direction: column; gap: 2px; }
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.has-sub:hover > a svg, .has-sub:focus-within > a svg { transform: rotate(180deg); }
.nav .sub a { display: flex; color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 500; box-shadow: none; }
.nav .sub a:hover { background: var(--pay-tint); color: var(--pay-dark); }
.nav .sub a[aria-current="page"] { background: var(--pay-tint); color: var(--pay-dark); box-shadow: none; }
/* nach dem Hero (und auf Rechtsseiten): 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 > li > a { color: var(--ink); }
.nav.solid ul > li > a:hover, .nav.solid ul > li > a[aria-current="page"] { color: 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 ===== */
.hero { position: relative; padding: 140px 0 clamp(64px, 8vw, 100px); }
.hero.home { min-height: min(100svh, 820px); display: flex; align-items: center; padding: 120px 0 70px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 22px; }
.hero h1 .p { color: var(--pay-light); }
.hero .sub-h { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.01em; color: var(--tel); margin: 0 0 18px; line-height: 1.25; }
.hero .lead { max-width: 33em; margin: 0 0 30px; }
.refs { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.refs small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; margin-bottom: 14px; }
.refs-logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.refs-logos img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.refs-logos img.lg { height: 40px; }

/* Foto im Sechseck */
.hexpic { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1.1547; margin-left: auto; }
.hexpic::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; }
.hexpic img { position: relative; width: 100%; height: 100%; object-fit: cover; clip-path: var(--hex); }
.ring { position: absolute; clip-path: var(--hex); background: rgba(255,255,255,.18); aspect-ratio: 1 / 1.1547; }
.ring::after { content: ""; position: absolute; inset: 2px; clip-path: var(--hex); background: var(--bg); }
.ring.r1 { width: 64px; left: -34px; bottom: 6%; } .ring.r2 { width: 44px; right: -8px; top: 2%; opacity: .7; }
.hero-light .hexpic { max-width: 400px; }

/* ===== Textabschnitte ===== */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.rev { grid-template-columns: 1.1fr .9fr; }
.split .hexpic { margin: 0 auto; max-width: 400px; }
.split .hexpic::before { background: linear-gradient(135deg, var(--pay) 0 50%, var(--tel) 50% 100%); }
.dark .split .hexpic::before { background: linear-gradient(135deg, var(--pay-light) 0 50%, var(--tel) 50% 100%); }
.quote-big { font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.22; letter-spacing: -.025em; font-weight: 700; color: var(--pay-deep); margin: 0; }
.quote-big::before { content: "«"; color: var(--tel); margin-right: .1em; }
.quote-big::after { content: "»"; color: var(--tel); margin-left: .1em; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; box-shadow: 0 14px 36px rgba(11,58,64,.07); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; align-items: flex-start; }
a.card { text-decoration: none; }
a.card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(11,58,64,.14); }
.card .hexi { width: 52px; margin-bottom: 16px; }
.card h2, .card h3 { font-size: 1.28rem; letter-spacing: -.01em; margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; }
.card .more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--pay); display: inline-flex; align-items: center; gap: 8px; }
.card .more svg { width: 16px; height: 16px; }
.cards.three .card:nth-child(2) { border-top: 4px solid var(--tel); }
.cards.three .card:nth-child(1), .cards.three .card:nth-child(3) { border-top: 4px solid var(--pay); }
.cards.six .card { border-top: 4px solid var(--pay); }
.cards.six .card:nth-child(even) { border-top-color: var(--tel); }

/* Stichwörter */
.chips { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 26px; padding: 0; margin: 0; }
.chips li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--pay-deep); }
.chips li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--pay-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23017f8d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Wabe der Dienstleistungen */
.honey { --w: min(27vw, 176px); --gap: 6px; position: relative; width: max-content; max-width: 100%; margin: 0 auto; padding: 6px 0 10px; }
.hrow { display: flex; gap: var(--gap); }
.hrow + .hrow { margin-top: calc(var(--w) * -.2887 + var(--gap) * .6); margin-left: calc(var(--w) / 2 + var(--gap) / 2); }
.hex { width: var(--w); aspect-ratio: 1 / 1.1547; clip-path: var(--hex); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 10%; text-decoration: none; font-weight: 700; line-height: 1.15; transition: transform .25s ease, filter .25s ease; gap: 6px; }
.hex:hover { transform: translateY(-5px) scale(1.04); filter: brightness(1.08); }
.hex svg { width: 28%; height: auto; }
.hex span { font-size: clamp(.64rem, 1.9vw, .9rem); hyphens: auto; }
.hex.p { background: linear-gradient(160deg, #04a3b3, var(--pay) 60%, #016470); color: #fff; }
.hex.t { background: linear-gradient(160deg, #f2cc2a, var(--tel) 60%, #b89400); color: var(--tel-ink); }
.honey .ring.r3 { width: calc(var(--w) * .3); left: calc(var(--w) * -.28); top: 6%; }
.honey .ring.r4 { width: calc(var(--w) * .24); right: calc(var(--w) * -.2); bottom: 8%; opacity: .7; }

/* Kundenstimmen */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quote { background: var(--soft); border-radius: 18px; padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; margin: 0; border-top: 4px solid var(--pay); }
.quote:nth-child(2) { border-top-color: var(--tel); }
.quote img { height: 38px; width: auto; }
.quote p { margin: 0; font-size: 1.04rem; color: var(--ink); }
.quote footer, .quote figcaption { margin-top: auto; font-size: .92rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--pay-deep); font-size: 1rem; }

/* Mitte / Aufruf */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band .lead { max-width: 640px; margin: 0 auto 28px; }
.cta-band .actions { justify-content: center; }

/* Formular */
.form-card { display: grid; grid-template-columns: .8fr 1.2fr; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); color: var(--ink); }
.form-side { background: linear-gradient(160deg, var(--pay) 0%, var(--pay-dark) 100%); color: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; justify-content: center; align-items: flex-start; }
.form-side .hexpic { max-width: 190px; margin: 0 0 6px; }
.form-side .hexpic::before { inset: -7px; background: rgba(255,255,255,.55); }
.form-side p { color: rgba(255,255,255,.92); margin: 0; }
.form-side .sign { font-weight: 700; font-size: 1.1rem; margin-top: -4px; }
.form-side ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.form-side a { text-decoration: none; font-weight: 600; }
.form-side a:hover { text-decoration: underline; }
.form-main { padding: clamp(28px, 4vw, 44px); }
.form-main h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tel-dark); margin: 0 0 8px; }
.form-main h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--pay-deep); }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--soft); border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--pay); background: #fff; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--pay); }
.contact-form .btn { justify-self: start; }
.form-status { font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #0a7a3a; }
.form-status.err { color: #b3261e; }

/* Rechtsseiten / 404 */
.legal { padding-top: 130px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
.legal h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 1.9em 0 .5em; color: var(--pay-deep); }
.legal .box { background: var(--soft); border-left: 4px solid var(--pay); border-radius: 12px; padding: 18px 22px; margin: 1.4em 0; }
.legal .box p:last-child { margin: 0; }
.legal a { color: var(--pay); }

/* Footer */
.foot { background: #04181a; color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .96rem; position: relative; overflow: hidden; }
.foot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: var(--comb); -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
.foot > .wrap { position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.foot img { height: 40px; width: auto; margin-bottom: 14px; }
.foot h4 { color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p { margin: 0 0 .6em; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: .88rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ===== Responsive ===== */
@media (max-width: 1060px) {
  .foot-grid { 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; max-height: calc(100vh - 80px); overflow-y: auto; }
  .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; }
  .has-sub > a svg { display: none; }
  .nav .sub { display: flex; position: static; box-shadow: none; background: transparent; padding: 0 0 4px 14px; margin: 0; min-width: 0; }
  .nav .sub::before { display: none; }
  .nav .sub a { color: rgba(255,255,255,.75); padding: 9px 4px; font-size: .96rem; }
  .nav.solid .sub a { color: var(--muted); }
  .nav .sub a:hover, .nav .sub a[aria-current="page"] { background: transparent; color: #fff; }
  .nav.solid .sub a:hover, .nav.solid .sub a[aria-current="page"] { color: var(--pay); background: transparent; }
  .hero { padding: 104px 0 64px; }
  .hero.home { min-height: 0; padding: 104px 0 64px; }
  .hero .wrap, .split, .split.rev, .form-card, .quotes { grid-template-columns: 1fr; }
  .hero .wrap { gap: 38px; }
  .hexpic { margin: 0 auto; max-width: 340px; }
  .hero .hexpic { order: -1; max-width: 270px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .form-side { align-items: center; text-align: center; }
  .form-side .hexpic { margin: 0 auto 6px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav .logo img { height: 36px; }
  .actions .btn { width: 100%; }
  .cards, .chips { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .refs-logos { gap: 26px; }
  .hero .hexpic { max-width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .hex { transition: none; }
}

/* Korrekturen: Formular auf dunklem Grund, schmale Bildschirme */
.dark .form-main h2 { color: var(--pay-deep); }
.dark .form-main p, .dark .form-main .form-note { color: var(--muted); }
.dark .form-main .form-note a { color: var(--pay); }
.split > *, .hero .wrap > *, .form-card > * { min-width: 0; }
@media (max-width: 980px) {
  .hero .wrap, .split, .split.rev, .form-card, .quotes { grid-template-columns: minmax(0, 1fr); }
  .honey { --w: min(24.5vw, 176px); }
}

/* Wabe: Wörter nur an den vorgesehenen Stellen trennen */
.hex { padding: 0 6%; }
.hex span { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; font-size: clamp(.58rem, 1.75vw, .88rem); }

/* Untermenü: linksbündig, Einträge in einer Zeile */
.nav .sub { align-items: stretch; min-width: 310px; }
.nav .sub li { width: 100%; }
.nav .sub a { justify-content: flex-start; white-space: nowrap; }

/* Logo mit Zusatz */
.nav .logo { display: inline-flex; align-items: center; gap: 14px; }
.logo-tag { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tel); padding-left: 14px; border-left: 2px solid rgba(255,255,255,.3); line-height: 1.1; white-space: nowrap; }
.nav.solid .logo-tag { color: var(--pay); border-left-color: var(--line); }
@media (max-width: 420px) { .logo-tag { font-size: .66rem; padding-left: 10px; letter-spacing: .1em; } .nav .logo { gap: 10px; } }

/* Weitere Dienstleistungen: fünf nebeneinander */
.cards.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cards.five .card { padding: 24px 20px; border-top: 4px solid var(--pay); }
.cards.five .card:nth-child(even) { border-top-color: var(--tel); }
.cards.five .card .hexi { width: 46px; }
.cards.five .card h3 { font-size: 1.08rem; hyphens: manual; }
.cards.five .card p { font-size: .94rem; line-height: 1.5; }
@media (max-width: 1180px) {
  .cards.five { display: flex; flex-wrap: wrap; justify-content: center; }
  .cards.five .card { flex: 0 1 calc(33.333% - 11px); }
}
@media (max-width: 800px) { .cards.five .card { flex-basis: calc(50% - 8px); } }
@media (max-width: 560px) { .cards.five .card { flex-basis: 100%; } }

/* Skills (Über mich) */
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.skill { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; box-shadow: 0 14px 36px rgba(11,58,64,.07); border-top: 4px solid var(--pay); }
.skill:nth-child(even) { border-top-color: var(--tel); }
.skill .hexi { width: 48px; margin-bottom: 14px; }
.skill h3 { font-size: 1.15rem; margin-bottom: .8em; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--pay-tint); color: var(--pay-dark); font-weight: 600; font-size: .9rem; padding: 6px 13px; border-radius: 999px; }
.skill:nth-child(even) .tags li { background: var(--tel-tint); color: #6d5800; }
@media (max-width: 980px) { .skills { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .skills { grid-template-columns: minmax(0, 1fr); } }

.nav .logo { text-decoration: none; }

/* Anfrage-Block (dunkles Hauptdesign): mittelgrosses Sechseck-Foto, Kontaktdaten darunter, Spalte vertikal zentriert */
.dunkel .form-side { justify-content: center; align-items: flex-start; gap: 18px; }
.dunkel .form-side .hexpic { max-width: 250px; width: 100%; margin: 0 0 8px; }
.dunkel .form-side .hexpic::before { inset: -9px; }
@media (max-width: 980px) { .dunkel .form-side .hexpic { max-width: 220px; margin: 0 auto 6px; } }

/* Untermenü: Hover-Fläche reicht über die ganze Höhe der Leiste, damit das Menü beim Hinunterfahren nicht verschwindet */
.nav .has-sub { align-self: stretch; display: flex; align-items: center; }
.nav .sub { margin-top: 6px; }
@media (max-width: 980px) { .nav .has-sub { display: block; align-self: auto; } }

/* Zusatz neben dem Logo: «HR by SALVAS» in der Schreibweise der Marke */
.dunkel .logo-tag { text-transform: none; letter-spacing: .04em; font-size: .92rem; font-weight: 600; }

/* Goldener Schleier, der dem Mauszeiger auf den dunklen Flächen folgt (Hauptdesign) */
.dunkel .hero, .dunkel .dark { --mx: 50%; --my: 50%; }
.dunkel .hero::after, .dunkel .dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s ease;
  background:
    var(--comb-gold),
    radial-gradient(260px circle at var(--mx) var(--my), rgba(219,177,1,.20), rgba(219,177,1,.07) 48%, transparent 72%);
  -webkit-mask-image: radial-gradient(230px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 45%, transparent 75%);
  mask-image: radial-gradient(230px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 45%, transparent 75%);
}
.dunkel .glow-on::after { opacity: 1; }
.dunkel { --comb-gold: 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='%23dbb101' fill-opacity='.38' 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"); }
