/* ============================================================
   ehoch2 - Ingenieurbüro für Photovoltaik · Tirol
   Shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Warm earthy palette */
  --bg:        #eef1f5;
  --paper:     #ffffff;
  --sand:      #e0e6ee;
  --sand-2:    #d2dbe6;
  --ink:       #1b2733;
  --ink-soft:  #4a5663;
  --ink-mute:  #78828e;
  --line:      #dadfe8;
  --line-soft: #e6eaf0;
  --accent:    #1f6fb8;   /* photovoltaik blue */
  --accent-2:  #16578f;   /* deep blue */
  --accent-wash:#e3eef8;

  --maxw: 1240px;
  --gutter: 40px;
  --radius: 4px;
  --r-pill: 5px;
  --r-box: 4px;
  --r-box-lg: 6px;
  --r-input: 4px;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  /* Reduced to two typefaces - labels/eyebrows now use the sans family */
  --mono: 'Hanken Grotesk', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(20,30,42,.04), 0 2px 8px rgba(20,30,42,.05);
  --shadow-md: 0 4px 14px rgba(20,30,42,.08), 0 18px 40px rgba(20,30,42,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); }
p { margin: 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow--center { justify-content: center; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-soft); }
.muted { color: var(--ink-mute); }

.display { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
.h-sec   { font-size: clamp(30px, 4vw, 46px); }
.h-card  { font-size: 25px; }

.serif-em { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--on-dark { background: transparent; color: #f4efe6; border-color: rgba(238,241,245,.32); }
.btn--on-dark:hover { border-color: #f4efe6; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,241,245,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--serif); font-weight: 500; font-size: 27px; letter-spacing: -0.02em; color: var(--ink); }
.brand-logo { height: 46px; width: auto; display: block; }
.brand sup { font-size: 0.56em; color: var(--accent); top: -0.5em; font-weight: 600; }
.brand-2 { color: var(--accent); font-weight: 600; }
.brand small { display:block; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1; }
.brand-lockup .tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  padding: 9px 14px; border-radius: var(--r-pill); transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--accent); }
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; }
.nav-cta { margin-left: 14px; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* ---------- Placeholder imagery ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(20,30,42,.05) 0 2px, transparent 2px 11px),
    var(--sand-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ph[data-label]::after {
  content: attr(data-label);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--ink-mute);
  background: rgba(255,255,255,.88);
  padding: 7px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
  max-width: 80%; text-align: center;
}
.ph--accent {
  background:
    repeating-linear-gradient(135deg, rgba(31,111,184,.10) 0 2px, transparent 2px 11px),
    var(--accent-wash);
  border-color: #c6dcf0;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 78px 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { margin: 22px 0 0; }
.hero .lead { margin-top: 24px; max-width: 46ch; }
.hero__cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media .ph { aspect-ratio: 4/5; }
.hero__top { position: relative; padding-bottom: 72px; }
.hero__top > .hero__grid { position: relative; z-index: 1; min-height: 560px; }
.hero__bg { position: absolute; top: -78px; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; display: block; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to right, var(--bg) 0%, var(--bg) 28%, rgba(238,241,245,.88) 42%, rgba(238,241,245,.35) 58%, rgba(238,241,245,0) 72%),
  linear-gradient(to top, var(--bg) 0%, rgba(238,241,245,0) 22%); }
.hero__top .hero__media { align-self: stretch; }
.hero__top .hero__badge { left: auto; right: 0; bottom: 0; }
.hero__badge {
  position: absolute; left: -26px; bottom: 34px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box);
  padding: 16px 20px; box-shadow: var(--shadow-md); max-width: 230px;
}
.hero__badge .num { font-family: var(--serif); font-size: 34px; color: var(--accent); line-height: 1; }
.hero__badge .lbl { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

.hero__stats { margin-top: 64px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__stats .stat { padding: 30px 0; }
.hero__stats .stat + .stat { border-left: 1px solid var(--line); padding-left: 30px; }
.stat .k { font-family: var(--serif); font-size: 38px; color: var(--ink); line-height: 1; }
.stat .k em { color: var(--accent); font-style: normal; }
.stat .v { font-size: 14px; color: var(--ink-mute); margin-top: 8px; }

/* ---------- Industry band ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.band__inner { display: flex; align-items: center; gap: 38px; padding: 26px 0; flex-wrap: wrap; }
.band__label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.band__items { display: grid; grid-template-columns: repeat(3, max-content); column-gap: 38px; row-gap: 13px; flex: 1; }
.band__items--two-rows { grid-template-columns: repeat(4, max-content); }
.band__items span, .band__items a { font-size: 16px; font-weight: 500; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 9px; text-decoration: none; transition: color .18s; }
.band__items a:hover { color: var(--accent); }
.band__items span::before, .band__items a::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .65; }

/* ---------- Section header ---------- */
.sec-head { max-width: none; }
.sec-head--center { margin: 0 auto; text-align: center; }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin-top: 18px; }

/* ---------- Services / phases ---------- */
.phases { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.phase {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box);
  padding: 34px 30px 32px; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.phase:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfe0f1; }
.phase__no { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.phase__ico { width: 46px; height: 46px; margin: 18px 0 20px; color: var(--accent); }
.phase h3 { font-size: 25px; }
.phase p { color: var(--ink-soft); margin-top: 12px; font-size: 16px; }
.phase ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line-soft); }
.phase li { font-size: 14.5px; color: var(--ink-soft); padding: 9px 0 9px 22px; position: relative; border-bottom: 1px solid var(--line-soft); }
.phase li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* ---------- Split / approach ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split__media { order: -1; }
.split__media .ph { aspect-ratio: 5/4; }
.split h2 { margin-top: 18px; }
.split p + p { margin-top: 16px; }
.split .body { color: var(--ink-soft); margin-top: 22px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 32px; font-size: 16px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent-wash); color: var(--accent);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #f4efe6; border-radius: var(--r-box-lg); padding: 64px; position: relative; overflow: hidden; }
.cta-band__grid { display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #faf6ef; font-size: clamp(28px, 3.4vw, 42px); }
.cta-band p { color: rgba(238,241,245,.72); margin-top: 16px; max-width: 46ch; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band__deco { position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(238,241,245,.12); }
.cta-band__deco::after { content:""; position:absolute; inset: 46px; border-radius: 50%; border: 1px solid rgba(31,111,184,.4); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: rgba(238,241,245,.74); padding: 70px 0 34px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-foot .brand { color: #f7f2ea; }
.site-foot .brand sup { color: var(--accent); }
.site-foot .brand-2 { color: var(--accent); }
.foot__logo { display: inline-block; }
.foot__logo img { height: 42px; width: auto; display: block; }
.foot__about { margin-top: 18px; font-size: 15px; line-height: 1.65; max-width: 34ch; color: rgba(238,241,245,.62); }
.foot__col h4 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,241,245,.5); }
.foot__col ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.foot__col a, .foot__col li { font-size: 15px; color: rgba(238,241,245,.74); transition: color .15s; }
.foot__col a:hover { color: #fff; }
.foot__bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(238,241,245,.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: rgba(238,241,245,.5); font-family: var(--mono); letter-spacing: .03em; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 74px 0 56px; }
.page-hero .display { font-size: clamp(38px, 5vw, 64px); margin-top: 20px; }
.page-hero .lead { margin-top: 22px; }

/* ---------- Breadcrumb-ish meta row ---------- */
.meta-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.meta-row .m { font-size: 14px; color: var(--ink-soft); }
.meta-row .m b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin-bottom: 3px; }

/* ---------- Reference cards ---------- */
.ref-filter { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-bottom: 40px; }
.ref-filter__btn { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 8px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--ink-soft); cursor: pointer; transition: all .2s; text-align: center; line-height: 1.25; }
.ref-filter__btn:hover { border-color: var(--accent); color: var(--accent); }
.ref-filter__btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.ref-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 8px; }
.ref-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ref-card__img { aspect-ratio: 16/10; min-height: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.ref-card__body { padding: 26px 28px 28px; }
.ref-card__tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ref-more { display: flex; justify-content: center; margin-top: 40px; }
.ref-more__btn { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 14px 32px; border: 1px solid var(--line); border-radius: var(--r-pill); background: transparent; color: var(--ink-soft); cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 10px; }
.ref-more__btn:hover { border-color: var(--accent); color: var(--accent); }
.ref-more__btn .arr { transition: transform .2s; }
.ref-more__btn:hover .arr { transform: translateY(2px); }

/* ---------- Share on cards ---------- */
.share { position: relative; margin-top: 22px; }
.share__btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px; cursor: pointer; transition: all .2s; }
.share__btn:hover { border-color: var(--accent); color: var(--accent); }
.share__btn svg { width: 15px; height: 15px; }
.share__menu { position: fixed; min-width: 212px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: var(--shadow-md); padding: 7px; z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.share__menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.share__head { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); padding: 8px 12px 9px; }
.share__item { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: var(--r-box); background: transparent; border: 0; cursor: pointer; font-family: var(--sans); font-size: 14.5px; color: var(--ink); text-align: left; transition: background .15s ease; }
.share__item:hover { background: var(--bg); }
.share__item svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--ink-soft); }
.share__item:hover svg { color: var(--accent); }
.ref-card h3 { font-size: 24px; margin-top: 12px; }
.ref-card p { color: var(--ink-soft); margin-top: 10px; font-size: 15.5px; }
.ref-card__stats { display: flex; gap: 26px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.ref-card__stats .s .k { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1; }
.ref-card__stats .s .v { font-size: 12.5px; color: var(--ink-mute); margin-top: 5px; }

@media (min-width: 861px) {
  .ref-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
  .ref-card__img { aspect-ratio: auto; height: 100%; min-height: 320px; border-bottom: 0; border-right: 1px solid var(--line); }
  .ref-card__body { align-self: center; padding: 34px 36px; }
}

/* ---------- About / team ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; }
.value { padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); position: relative; }
.value__no { font-family: var(--mono); font-size: 26px; color: #1f6fb8; letter-spacing: .05em; position: absolute; top: 22px; right: 26px; }
.value h3 { font-size: 21px; margin-top: 14px; }
.value p { color: var(--ink-soft); font-size: 15.5px; margin-top: 10px; }

.team { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 54px; }
.team__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); padding: 28px; display: grid; grid-template-columns: 1fr 200px; gap: 32px; align-items: start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }ransform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.team__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0f1; }
.team__card--note { grid-template-columns: 1fr; }
.team__card .ph { aspect-ratio: 1/1; border-radius: var(--r-box); order: 2; width: 100%; }
.team__body { min-width: 0; order: 1; }
/* Portrait mit Hover-Wechsel */
.ph--swap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-box); }
.ph--swap .ph__hover { opacity: 0; transition: opacity .45s ease; }
.team__card:hover .ph--swap .ph__hover, .ph--swap:hover .ph__hover { opacity: 1; }
@media (hover: none) { .ph--swap .ph__hover { display: none; } }
.team__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.team__card h3 { font-size: 23px; margin-top: 0; }
.team__card .role { font-family: var(--mono); font-size: 12.5px; color: var(--accent); margin-top: 5px; letter-spacing: .04em; }
.team__card p { color: var(--ink-soft); font-size: 15.5px; margin-top: 16px; max-width: none; }
.team-contact { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.team-contact a, .team-contact span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-soft); transition: color .15s; }
.team-contact a:hover { color: var(--accent); }
.team-contact svg { width: 15px; height: 15px; flex: none; color: var(--accent); }

.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 50px; }
.loc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.loc-card__head { display: flex; align-items: flex-start; gap: 16px; }
.loc-card__map { border-radius: var(--r-box); overflow: hidden; }
.loc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); padding: 32px; display: flex; gap: 22px; align-items: flex-start; }
.loc-card .pin { width: 40px; height: 40px; flex: none; color: var(--accent); }
.loc-card h3 { font-size: 22px; }
.loc-card address { font-style: normal; color: var(--ink-soft); margin-top: 10px; font-size: 15.5px; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  padding: 13px 15px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-input);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }
.contact-aside { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); padding: 36px; }
.contact-aside h3 { font-size: 22px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.contact-item .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.contact-item .val { font-size: 15.5px; color: var(--ink); margin-top: 3px; }
.form-success { display: none; background: var(--accent-wash); border: 1px solid #c6dcf0; border-radius: var(--r-box); padding: 22px 24px; color: var(--accent-2); font-size: 15.5px; }
.form-success.show { display: block; }

/* ---------- More-than-PV row ---------- */
.more-divider { margin-top: 30px; display: flex; align-items: center; gap: 20px; }
.more-divider span { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }
.more-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.more-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.more-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); padding: 30px; display: flex; gap: 20px; align-items: flex-start; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.more-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f1; }
.more-card__ico { width: 40px; height: 40px; flex: none; color: var(--accent); }
.more-card h3 { font-size: 21px; }
.more-card p { color: var(--ink-soft); font-size: 15.5px; margin-top: 10px; }

/* ---------- Helioplant flagship panel ---------- */
.helioplant { margin-top: 24px; background: var(--ink); color: #eaf2fa; border-radius: var(--r-box-lg); overflow: hidden; display: grid; grid-template-columns: 1.15fr 0.85fr; }
.helioplant__body { padding: 50px 52px; }
.helioplant__eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #6fb1e6; display: inline-flex; align-items: center; gap:10px; }
.helioplant__eyebrow::before { content: none; }
.helioplant h3 { color: #f3f8fc; font-size: clamp(26px, 3vw, 34px); margin-top: 18px; line-height: 1.1; }
.helioplant p { color: rgba(234,242,250,.74); margin-top: 16px; font-size: 16px; max-width: 46ch; }
.helioplant .badge-line { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #cfe3f5; background: rgba(111,177,230,.12); border: 1px solid rgba(111,177,230,.25); padding: 8px 15px; border-radius: var(--r-pill); }
.helioplant .badge-line .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fb1e6; box-shadow: 0 0 0 4px rgba(111,177,230,.18); }
.helioplant__actions { margin-top: 30px; }
.helioplant__media { position: relative; min-height: 240px; }
.helioplant__media .ph { position: absolute; inset: 0; border: 0; border-radius: 0; height: 100%; }
.btn--helio { background: #2c8bd6; color: #fff; }
.btn--helio:hover { background: #1f6fb8; }

@media (max-width: 980px) {
  .more-grid { grid-template-columns: 1fr; }
  .helioplant { grid-template-columns: 1fr; }
  .helioplant__media { min-height: 200px; order: -1; }
}

/* ---------- Reveal (no-op for reliability) ----------
   Entrance animations that start from opacity:0 can stay stuck
   when the preview frame isn't actively composited. Content is
   always visible; .reveal/.in are kept as harmless hooks. */
.reveal, .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__media { order: 0; }
  .phases, .values { grid-template-columns: 1fr 1fr; }
  .ref-grid, .locations { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__top > .hero__grid { min-height: 0; }
  .hero__bg::after { background: linear-gradient(to bottom, rgba(238,241,245,.92) 0%, rgba(238,241,245,.8) 60%, var(--bg) 100%); }
  .hero__stats .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .band__items { grid-template-columns: repeat(2, max-content); }
}
@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .section { padding: 68px 0; }
  .nav { display: none; }
  .burger { display: block; }
  .site-head.open .nav { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px; }
  .site-head.open .nav a { padding: 13px 8px; }
  .site-head.open .nav-cta { margin: 8px 0 0; justify-content: center; }
  .phases, .values, .team { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .hero__badge { position: static; margin-top: 18px; max-width: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ref-filter { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stats .stat + .stat { border-left: 0; padding-left: 0; }
  .band__items { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-body { max-width: 780px; }
.legal-block { margin-bottom: 48px; }
.legal-block h2 { font-size: 20px; font-weight: 600; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal-block p { color: var(--ink-soft); margin-top: 0; margin-bottom: 12px; font-size: 15.5px; line-height: 1.7; }
.legal-table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.legal-table th, .legal-table td { padding: 10px 0; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.legal-table th { width: 220px; color: var(--ink-mute); font-weight: 500; padding-right: 24px; white-space: nowrap; }
.legal-table td { color: var(--ink-soft); }
.legal-table a { color: var(--accent); }
.legal-list { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; padding-left: 20px; margin: 12px 0; }
.legal-list li { margin-bottom: 8px; }
.legal-locs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; }
.legal-nav { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.foot__bottom a { color: var(--ink-mute); text-decoration: none; transition: color .15s; }
.foot__bottom a:hover { color: var(--paper); }

/* ---------- Mobile-Fixes ---------- */
.hero__grid > * { min-width: 0; }
@media (max-width: 720px) {
  .hero { padding-top: 48px; }
  .hero .display { font-size: clamp(34px, 9vw, 44px); overflow-wrap: break-word; hyphens: auto; }
  .hero__top { padding-bottom: 40px; }
  .hero__stats { margin-top: 32px; grid-template-columns: 1fr 1fr; }
  .hero__stats .stat { padding: 16px 0; }
  .hero__stats .stat + .stat { border-left: 0; padding-left: 0; }
  .hero__stats .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .hero__stats .stat .k { font-size: 26px; }
  .hero__stats .stat .v { font-size: 12.5px; margin-top: 5px; }
  .site-head__inner { height: 58px; }
  .brand-logo { height: 32px; }
  .burger { padding: 6px; }
  .burger span { width: 20px; margin: 3.5px 0; }
  .site-head.open .nav { top: 58px; }
  .hero { padding-top: 0; }
  .hero__bg { position: relative; top: 0; left: auto; right: auto; margin: 0 calc(-1 * var(--gutter)) 8px; height: 62vw; max-height: 360px; }
  .hero__bg img { object-position: center 60%; }
  .hero__bg::after { background: linear-gradient(to top, var(--bg) 0%, rgba(238,241,245,0) 38%); }
  .team__card { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .team__card .ph { order: 0; position: relative; width: 100%; max-width: 260px; height: auto; aspect-ratio: 1/1; min-height: 0; }
  .team__body { order: 1; }
  .team-contact { flex-direction: column; gap: 8px; }
  .team-contact a, .team-contact span { overflow-wrap: anywhere; }
}
