/* ==========================================================================
   Unternehmen (hell) — seitenspezifische Styles
   Signatur: helle, kartografische Einsatzgebiet-Karte (Wien · NÖ · Burgenland)
   ========================================================================== */

/* ---------- Unterseiten-Hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(28px, 5vw, 72px)) 0 clamp(72px, 8vw, 128px); background: var(--white); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.page-hero .h1 { hyphens: manual; }
.page-hero .lead { margin-top: 24px; max-width: 44ch; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero-avail { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .9375rem; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 20px; font-size: .9375rem; color: var(--text-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.crumbs a:hover { color: var(--anthracite); text-decoration-color: currentColor; }
.crumbs svg { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--anthracite); font-weight: 500; }

.page-hero-visual { position: relative; }
.page-hero-photo { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--estrich); }
.page-hero-photo > img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-visual > .schild { position: absolute; left: clamp(-40px, -2.5vw, -16px); bottom: clamp(20px, 3vw, 40px); }

/* Infoschild „Ihr Ansprechpartner" */
.u-contact { min-width: 260px; }
.u-contact-id { display: flex; align-items: center; gap: 14px; }
.u-contact-id img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: var(--estrich); box-shadow: 0 0 0 1px var(--line); flex: none; }
.u-contact-id .s-title span { display: block; font-family: var(--f-text); font-size: .875rem; font-weight: 500; letter-spacing: 0; color: var(--text-2); margin-top: 2px; }

@media (max-width: 1020px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-visual > .schild { left: 16px; }
}
@media (max-width: 600px) {
  .page-hero-photo { aspect-ratio: 5 / 4; }
  .page-hero-visual > .schild { position: relative; left: auto; bottom: auto; margin: -56px 12px 0; max-width: none; }
}

/* ---------- Wer wir sind ---------- */
.u-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 96px); align-items: start; }
.u-story-text p + p { margin-top: 16px; }
.u-story-text p:not(.lead) { color: var(--text); max-width: 60ch; }
.u-story-text .lead { color: var(--anthracite); margin-bottom: 24px; }
.u-facts { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.u-facts li { padding: 22px 16px 0 0; }
.u-facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.u-facts strong { display: block; font-family: var(--f-display); font-size: clamp(2.25rem, 3vw + .5rem, 3.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.u-facts span { display: block; margin-top: 10px; font-size: .9375rem; color: var(--text-2); line-height: 1.4; hyphens: manual; }
@media (max-width: 900px) {
  .u-story { grid-template-columns: minmax(0, 1fr); }
  .u-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .u-facts li:nth-child(n+3) { margin-top: 22px; border-top: 1px solid var(--line); }
}

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); max-width: 1120px; }
.person { position: relative; display: flex; flex-direction: column; }
.person-photo { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--estrich); }
.person-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease-out); }
.person:hover .person-photo > img { transform: scale(1.03); }
.person-plate { position: relative; margin: -44px 16px 0; align-self: flex-start; max-width: calc(100% - 32px); }
.person-plate .s-title { font-size: 1.5rem; }
.person-quote { margin-top: 24px; font-family: var(--f-display); font-size: clamp(1.15rem, .7vw + .95rem, 1.4rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; color: var(--anthracite); max-width: 34ch; }
.person-call { margin-top: 18px; align-self: flex-start; min-height: 44px; }
.person-call svg { width: 18px; height: 18px; }

/* Platzhalter: Ennikö Szilagyi (Foto folgt) */
.person-photo--ph {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 30% 20%, #FFFFFF 0%, rgba(255,255,255,0) 60%),
    linear-gradient(160deg, var(--render) 0%, var(--estrich) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.person-photo--ph::before { content: ""; position: absolute; inset: 18px; border-radius: calc(var(--r-l) - 8px); border: 1px solid var(--line-2); pointer-events: none; }
.ph-mono { display: grid; place-items: center; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(38,41,42,.35); }
.ph-mono span { font-family: var(--f-display); font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 500; letter-spacing: -0.02em; color: var(--oak-text); line-height: 1; }
.ph-badge { position: absolute; left: 32px; top: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: .875rem; font-weight: 600; color: var(--text); }
.ph-badge svg { width: 18px; height: 18px; color: var(--text-2); }
@media (max-width: 760px) {
  .people { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .person-photo { max-height: 72vh; }
}

/* ---------- Werte (Editorial-Liste) ---------- */
.u-values { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.u-values-photo { position: sticky; top: calc(var(--header-h) + 32px); border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--estrich); }
.u-values-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.u-values .h2 { margin-bottom: 20px; }
.values { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.values li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 3vw, 48px); padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.values .h3 { hyphens: manual; }
.values p { color: var(--text); }
@media (max-width: 1100px) { .values li { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .u-values { grid-template-columns: minmax(0, 1fr); }
  .u-values-photo { position: relative; top: 0; aspect-ratio: 4 / 3; max-width: 560px; }
}

/* ---------- Einsatzgebiet (Signatur) ---------- */
.area { background: var(--white); }
.area-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.area-copy .h2 { margin-bottom: 20px; }
.area-list { margin-top: 36px; border-top: 1px solid var(--line-2); }
.area-list li { border-bottom: 1px solid var(--line); }
.area-btn { width: 100%; min-height: 60px; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px 10px 4px; text-align: left; border-radius: 10px; transition: background-color .25s, color .25s; }
.area-btn .nm { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; hyphens: manual; }
.area-btn .sub { font-size: .875rem; color: var(--text-2); }
.area-btn .sw { width: 16px; height: 16px; border-radius: 4px; background: var(--white); box-shadow: inset 0 0 0 1.5px #B9B2A3; transition: background-color .25s, box-shadow .25s; }
.area-btn .sw--hq { border-radius: 50%; background: var(--anthracite); box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--line-2); width: 12px; height: 12px; margin-left: 2px; }
.area-btn:hover, .area-btn.is-hover { background: var(--render); }
.area-btn[aria-pressed="true"] .sw { background: var(--signal-wash); box-shadow: inset 0 0 0 2px var(--signal-deep); }
.area-btn[aria-pressed="true"] .sw--hq { background: var(--signal); box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--signal-deep); }
.area-btn[aria-pressed="true"] .nm { color: var(--anthracite); }
.area-info { margin-top: 28px; min-height: 9.5em; }
.area-info .h3 { margin-bottom: 8px; }
.area-info p { color: var(--text); max-width: 46ch; }

.area-map { position: relative; }
.area-canvas { position: relative; border-radius: var(--r-l); overflow: hidden; background: #F1EEE7; box-shadow: 0 0 0 1px var(--line); }
.area-svg { width: 100%; height: auto; }
.area-bg { fill: #F1EEE7; }
.area-svg .rg { fill: #FFFFFF; stroke: #B9B2A3; stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: fill .35s, stroke .35s; }
.area-svg .rg.is-hover { fill: #F3F8EB; stroke: var(--anthracite); stroke-width: 1.8; }
.area-svg .rg.is-on { fill: var(--signal-wash); stroke: var(--signal-deep); stroke-width: 2; }
.area-lake { fill: #CFE5F1; stroke: #9FC8DE; stroke-width: 1; pointer-events: none; }
.area-river { fill: none; stroke: #8EC0DD; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.area-labels, .map-pin-label, .area-north { pointer-events: none; }
.map-region { font-family: var(--f-text); font-size: 13px; font-weight: 600; letter-spacing: .16em; fill: #7E8384; paint-order: stroke; stroke: #FFFFFF; stroke-width: 4px; stroke-linejoin: round; transition: fill .3s; }
.map-region[data-for="wien"] { font-size: 12px; letter-spacing: .12em; }
.map-region.is-on { fill: var(--signal-deep); }
.map-river { font-family: var(--f-text); font-size: 13px; font-style: italic; fill: #4F87A8; }
.map-town circle { fill: var(--white); stroke: var(--anthracite); stroke-width: 1.6; }
.map-town text, .map-pin-label { font-family: var(--f-text); font-size: 14px; font-weight: 500; fill: var(--anthracite); paint-order: stroke; stroke: #FFFFFF; stroke-width: 4px; stroke-linejoin: round; }
.map-pin-label { font-weight: 700; font-size: 15px; }
.area-north path { fill: var(--anthracite); }
.area-north text { font-family: var(--f-text); font-size: 12px; font-weight: 700; fill: var(--anthracite); }
.area-pin .pin-halo { fill: rgba(141,198,63,.25); }
.area-pin .pin-dot { fill: var(--signal); stroke: var(--anthracite); stroke-width: 2; }
.area-pin .pulse { fill: none; stroke: var(--signal-deep); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: area-pulse 2.6s var(--ease-out) infinite; }
@keyframes area-pulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(3); opacity: 0; } }
.area-map.is-hq .area-pin .pin-dot { stroke-width: 2.5; }

/* Infoschild am Pin (Pin: 67,4 % / 43,2 % der Karte) */
.area-schild { position: absolute; right: calc(32.6% + 18px); top: calc(43.2% + 18px); min-width: 0; width: max-content; max-width: 260px; transition: box-shadow .3s, transform .5s var(--ease-out); }
.area-map.is-hq .area-schild { box-shadow: 0 1px 0 rgba(38,41,42,.04), 0 18px 40px -16px rgba(38,41,42,.45), 0 0 0 1.5px var(--signal-deep); }
.area-note { margin-top: 12px; font-size: .8125rem; color: var(--text-2); }

@media (max-width: 1020px) { .area-grid { grid-template-columns: minmax(0, 1fr); } .area-info { min-height: 0; } }
@media (max-width: 600px) {
  .map-region { font-size: 21px; letter-spacing: .12em; } .map-region[data-for="wien"] { font-size: 17px; letter-spacing: .06em; }
  .map-town text { font-size: 24px; } .map-pin-label { font-size: 25px; } .map-river { font-size: 21px; transform: translateX(-52px); }
  .map-town--stp text { text-anchor: end; transform: translateX(-24px); }
  .map-town circle { r: 5.5px; }
  .area-north text { font-size: 18px; }
  .area-schild { position: relative; right: auto; top: auto; max-width: none; width: auto; margin: 12px 0 0; }
  .area-canvas { overflow: visible; }
  .area-svg { border-radius: var(--r-l); }
  .area-canvas { background: none; box-shadow: none; }
  .area-svg { background: #F1EEE7; box-shadow: 0 0 0 1px var(--line); }
}

/* ---------- Marken ---------- */
.brands { border-top: 1px solid var(--line-2); }
.brands li { border-bottom: 1px solid var(--line-2); }
.brand-row { display: grid; grid-template-columns: 96px 150px minmax(0, 1.1fr) minmax(0, 1.4fr) 48px; gap: clamp(16px, 2.4vw, 36px); align-items: center; padding: 18px 8px; border-radius: 14px; transition: background-color .3s; }
.brand-row:hover { background: rgba(255,255,255,.7); }
.br-prod { width: 96px; height: 76px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; padding: 8px; overflow: hidden; }
.br-prod img { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform .8s var(--ease-out); }
.brand-row:hover .br-prod img { transform: scale(1.08); }
.br-logo img { height: 26px; width: auto; max-width: 140px; }
.br-logo--sq { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: #0559C9; }
.br-logo--sq img { height: 34px; }
.br-name { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; hyphens: manual; }
.br-badge { font-family: var(--f-text); font-size: .8125rem; font-weight: 600; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2); color: var(--anthracite); }
.br-desc { color: var(--text); font-size: 1rem; }
.br-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .3s, box-shadow .3s; }
.br-go svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.brand-row:hover .br-go { background: var(--signal); box-shadow: none; }
.brand-row:hover .br-go svg { transform: translateX(3px); }
@media (max-width: 1020px) {
  .brand-row { grid-template-columns: 80px minmax(0, 1fr) 44px; grid-template-areas: "prod logo go" "prod name go" "prod desc go"; row-gap: 4px; }
  .br-prod { grid-area: prod; width: 80px; height: 80px; align-self: start; }
  .br-logo { grid-area: logo; } .br-name { grid-area: name; } .br-desc { grid-area: desc; font-size: .9375rem; color: var(--text-2); } .br-go { grid-area: go; }
  .br-logo img { height: 20px; } .br-logo--sq img { height: 26px; }
}

/* ---------- Abschluss (Ergänzung) ---------- */
.close .big-phone { font-size: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 380px) { .close .big-phone { font-size: 1.85rem; gap: 12px; } }
