/* BO4 Systems GbR - statische Website, Fonts lokal (keine Drittanbieter) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }

:root {
  --text: #1e1e1e;
  --muted: #5f6066;
  --line: #dadce0;
  --bg: #ffffff;
  --bg-soft: #f2f3f6;
  --footer: #404040;
  --accent: #265ab2;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

/* Navigation */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 22px 34px;
}
.nav .brand img { display: block; height: 74px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 17px; color: rgba(255,255,255,.75); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }

/* Unterseiten: Kopfbalken mit Bild */
.page-head {
  position: relative; color: #fff; text-align: center;
  padding: 170px 24px 70px;
  background: #3a3a3c url("img/bodensee-1200.jpg") center 60% / cover no-repeat;
}
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(30,30,32,.45); }
.page-head > * { position: relative; }
.page-head h1 { margin: 0; font-weight: 300; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; }
.page-head p { margin: 12px 0 0; font-size: clamp(16px, 2vw, 20px); }

/* Startseite: Vollbild-Hero */
.hero {
  position: relative; min-height: 100vh; color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px 24px 100px;
  background: #4a4a4c url("img/bodensee.jpg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(40,40,44,.30); }
.hero > * { position: relative; }
.hero h1 { margin: 0; font-weight: 300; font-size: clamp(48px, 8vw, 96px); line-height: 1.1; letter-spacing: .5px; }
.hero .claim { margin: 36px 0 56px; font-weight: 500; font-size: clamp(20px, 2.6vw, 32px); }
.hero ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; font-size: clamp(15px, 1.4vw, 17px); }
.hero ul a { color: #fff; text-underline-offset: 3px; }
.hero ul a:hover { text-decoration-thickness: 2px; }

/* Inhalt */
.content { max-width: var(--max); margin: 0 auto; padding: 64px 24px 80px; }
.content.narrow { max-width: 820px; }
.content h2 { font-weight: 500; font-size: 26px; margin: 48px 0 16px; line-height: 1.3; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-weight: 500; font-size: 18px; margin: 28px 0 8px; }
.content p, .content li { color: var(--text); }
.content .muted { color: var(--muted); }
.content a { color: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.card { background: var(--bg-soft); border-radius: 10px; padding: 26px 24px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; font-weight: 300; }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.contact-box { background: var(--bg-soft); border-radius: 10px; padding: 32px; margin-top: 48px; text-align: center; }
.contact-box h2 { margin-top: 0; }
.button {
  display: inline-block; margin-top: 8px; padding: 12px 28px; border-radius: 6px;
  background: var(--footer); color: #fff !important; text-decoration: none; font-weight: 500;
}
.button:hover { background: #1e1e1e; }

.legal h2 { font-size: 21px; }
.legal h3 { font-size: 16px; }
.legal p, .legal li { font-size: 15px; }
.legal ul { padding-left: 20px; }

/* Footer */
.footer { background: var(--footer); color: #fff; font-size: 15px; }
.footer .inner {
  max-width: 1240px; margin: 0 auto; padding: 40px 34px;
  display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; justify-content: space-between;
}
.footer address { font-style: normal; line-height: 1.6; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.footer nav a { color: rgba(255,255,255,.8); }

@media (max-width: 720px) {
  .nav { padding: 16px; flex-wrap: wrap; gap: 12px; }
  .nav .brand img { height: 54px; }
  .nav ul { gap: 18px; }
  .nav a { font-size: 15px; }
  .hero { padding: 150px 16px 80px; }
  .page-head { padding: 140px 16px 50px; }
  .content { padding: 44px 16px 60px; }
  .footer .inner { padding: 32px 16px; }
}

/* ---------- Climatix-Seite ---------- */
:root { --teal: #00857c; --teal-soft: #e6f4f2; --navy: #14232f; }
.cx-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #0f1c26 0%, #14303a 55%, #0d4a48 100%);
  padding: 170px 24px 90px;
}
.cx-hero .schema { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; pointer-events: none; }
.cx-hero .inner { position: relative; max-width: var(--max); margin: 0 auto; }
.cx-hero .eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #8fe3d8; margin-bottom: 14px; }
.cx-hero h1 { margin: 0; font-weight: 300; font-size: clamp(34px, 5.5vw, 60px); line-height: 1.12; max-width: 760px; }
.cx-hero p.lead { margin: 22px 0 34px; font-size: clamp(16px, 1.8vw, 19px); max-width: 640px; color: rgba(255,255,255,.85); }
.cx-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button.teal { background: var(--teal); }
.button.teal:hover { background: #006b63; }
.button.ghost { background: transparent; border: 1px solid rgba(255,255,255,.6); }
.button.ghost:hover { background: rgba(255,255,255,.1); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }

.section-intro { max-width: 680px; color: var(--muted); margin: 0 0 8px; }
.kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); font-weight: 500; margin: 0 0 6px; }

.cx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 28px; }
.cx-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; transition: box-shadow .2s, transform .2s; }
.cx-card:hover { box-shadow: 0 10px 28px rgba(20,35,47,.09); transform: translateY(-2px); }
.cx-card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.cx-card .icon svg { width: 26px; height: 26px; }
.cx-card h3 { margin: 0 0 8px; font-size: 18px; }
.cx-card p { margin: 0; color: var(--muted); font-size: 15px; }

.band { background: var(--bg-soft); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 12px; display: block; width: 100%; height: auto; }
.split figure { margin: 0; }
.split figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 6px; height: 9px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checklist strong { font-weight: 500; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 28px; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 56px 20px 22px; border-top: 3px solid var(--teal); background: #fff; border-radius: 0 0 10px 10px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 14px; left: 20px; font-size: 26px; font-weight: 300; color: var(--teal); }
.steps h3 { margin: 0 0 6px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

.schema-figure { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.schema-figure svg { display: block; width: 100%; height: auto; }

.contact-box.dark { background: var(--navy); color: #fff; }
.contact-box.dark p { color: rgba(255,255,255,.85); }
.center { text-align: center; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .cx-hero { padding: 140px 16px 70px; }
}
.partner-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px 14px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #0f1c26; background: #8fe3d8; vertical-align: middle; }
@media (max-width: 720px) { .partner-badge { margin-left: 0; display: flex; width: fit-content; } }

/* ---------- Climatix-Themenseiten ---------- */
.cx-hero.sub { padding: 160px 24px 64px; }
.cx-hero.sub .inner { max-width: 820px; }
.cx-hero.sub h1 { font-size: clamp(32px, 4.6vw, 50px); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.partner-badge.first { margin-left: 0; display: flex; width: fit-content; }
.topic .content { padding-top: 56px; padding-bottom: 56px; }
.topic .steps { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
table.facts { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.facts th { width: 30%; font-weight: 500; color: var(--navy); background: var(--teal-soft); }
.topic-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 20px 0 48px; }
.topic-link { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text) !important; transition: box-shadow .2s, border-color .2s; }
.topic-link:hover { border-color: var(--teal); box-shadow: 0 8px 22px rgba(20,35,47,.08); }
.topic-link strong { display: block; font-weight: 500; color: var(--teal); margin-bottom: 6px; }
.topic-link span { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) {
  .cx-hero.sub { padding: 140px 16px 48px; }
  table.facts th, table.facts td { display: block; width: 100%; }
  table.facts th { border-bottom: 0; padding-bottom: 4px; }
}

/* ---------- Marine-Seite (Farben aus Logo bo4 marine solutions) ---------- */
:root { --marine: #2e5496; --marine-dark: #1b335e; --marine-soft: #e9eef7; --sun: #ffc000; }
.mx-hero {
  position: relative; color: #fff; padding: 170px 24px 90px;
  background: #1b335e url("img/marina.jpg") center 40% / cover no-repeat;
}
.mx-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,38,72,.88) 0%, rgba(20,38,72,.62) 55%, rgba(20,38,72,.25) 100%); }
.mx-hero .inner { position: relative; max-width: var(--max); margin: 0 auto; }
.mx-hero .eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.mx-hero h1 { margin: 0; font-weight: 300; font-size: clamp(34px, 5.5vw, 60px); line-height: 1.12; max-width: 760px; }
.mx-hero p.lead { margin: 22px 0 34px; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.9); }
.button.sun { background: var(--sun); color: #1b335e !important; }
.button.sun:hover { background: #e6ad00; }
.mx-hero .credit { position: absolute; right: 16px; bottom: 10px; font-size: 11px; color: rgba(255,255,255,.65); }
.mx-hero .credit a { color: inherit; }
.mx-card .icon { background: var(--marine-soft); color: var(--marine); }
.mx-card .sub { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--marine); font-weight: 500; margin: 0 0 6px; }
.kicker.marine { color: var(--marine); }
.mx-twin { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.mx-twin .logo-card { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 10px 30px rgba(27,51,94,.10); }
.mx-twin .logo-card img { display: block; width: 100%; height: auto; }
.mx-twin blockquote { margin: 0; font-size: 17px; line-height: 1.75; }
.mx-twin blockquote p { margin: 0 0 14px; }
.mx-twin cite { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 10px; }
.contact-box.marine { background: var(--marine-dark); color: #fff; }
.contact-box.marine p { color: rgba(255,255,255,.85); }
@media (max-width: 860px) {
  .mx-twin { grid-template-columns: 1fr; gap: 28px; }
  .mx-twin .logo-card { max-width: 240px; }
  .mx-hero { padding: 140px 16px 70px; }
}
.cx-cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { .cx-cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cx-cards.four { grid-template-columns: 1fr; } }

/* ---------- Startseite ---------- */
.hero.home { min-height: 92vh; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.button.light { background: #fff; color: #1e1e1e !important; }
.button.light:hover { background: #f2f3f6; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: hint 1.8s infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint::after { animation: none; } }

.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.area {
  --c: var(--navy); --c-soft: var(--bg-soft);
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 30px 30px 26px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  border-top: 5px solid var(--c); text-decoration: none; color: var(--text) !important;
  transition: box-shadow .2s, transform .2s;
}
.area:hover { box-shadow: 0 14px 34px rgba(20,35,47,.10); transform: translateY(-3px); }
.area .tag { align-self: flex-start; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; color: var(--c); background: var(--c-soft); padding: 4px 10px; border-radius: 999px; }
.area h3 { margin: 6px 0 0; font-size: 22px; font-weight: 500; }
.area .claim2 { margin: 0; color: var(--c); font-weight: 500; }
.area p { margin: 0; color: var(--muted); }
.area .more { margin-top: auto; padding-top: 10px; font-weight: 500; color: var(--c); }
.area .more::after { content: " →"; transition: margin-left .2s; }
.area:hover .more::after { margin-left: 4px; }
.area.arcworx { --c: #1f2a37; --c-soft: #eceff3; }
.area.marine { --c: var(--marine); --c-soft: var(--marine-soft); }
.area.climatix { --c: var(--teal); --c-soft: var(--teal-soft); }
.area.vb { --c: #a4473a; --c-soft: #f7ebe8; }

.people { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; align-items: start; }
.people .intro h2 { margin-top: 0; }
.person { background: #fff; border-radius: 14px; padding: 26px; border: 1px solid var(--line); }
.person .avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 18px; color: #fff; background: var(--navy); margin-bottom: 14px; }
.person.vb .avatar { background: #a4473a; }
.person h3 { margin: 0; font-size: 18px; }
.person .role { margin: 2px 0 12px; font-size: 14px; color: var(--muted); }
.person p { margin: 0; font-size: 15px; }

.home-contact { position: relative; color: #fff; text-align: center; padding: 100px 24px; background: #2c3a46 url("img/bodensee.jpg") center 12% / cover no-repeat; }
.home-contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(16,20,26,.35) 0%, rgba(16,20,26,.62) 100%); }
@media (max-width: 720px) { .home-contact { background-position: 72% 0; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.home-contact > * { position: relative; }
.home-contact h2 { margin: 0 0 10px; font-weight: 300; font-size: clamp(28px, 4vw, 42px); }
.home-contact p { margin: 0 0 26px; color: rgba(255,255,255,.88); }
.home-contact .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media (max-width: 900px) {
  .areas { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
}

/* ---------- Sprachumschaltung DE|EN ---------- */
.nav li.lang-switch { display: flex; align-items: center; gap: 6px; margin-left: 4px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.35); }
.nav li.lang-switch a { font-size: 14px; letter-spacing: 1px; padding-bottom: 2px; }
.nav li.lang-switch a.active { color: #fff; border-bottom-color: #fff; }
.nav li.lang-switch span { color: rgba(255,255,255,.45); font-size: 13px; }
@media (max-width: 720px) {
  .nav li.lang-switch { padding-left: 12px; margin-left: 0; }
  .nav li.lang-switch a { font-size: 13px; }
}
@media (max-width: 720px) { .nav ul { gap: 14px; } .nav li.lang-switch { padding-left: 10px; } }

/* ---------- Mobil-Feinschliff (12.10.2026) ---------- */
@media (max-width: 720px) {
  .footer .inner { flex-direction: column; gap: 18px; }
  .mx-hero::before { background: rgba(20,38,72,.82); }
}

/* ---------- Startseite Hero v2 (12.10.2026) ---------- */
:root { --sunset: #ffbf86; --sunset-dark: #f4a35f; }
.hero.v2 { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; text-align: left; padding: 0; overflow: hidden; background: #262a31; }
/* Foto gespiegelt: Boot mit Kreis im Kielwasser rechts, Bildausschnitt nach oben verschoben (Box ragt oben 55 % hinaus) */
.hero.v2 .hero-bg { position: absolute; top: -24%; right: -3%; bottom: -3%; left: -3%; background: url("img/bodensee-gespiegelt.jpg") center 100% / cover no-repeat; animation: kenburns 32s ease-in-out infinite alternate; transform-origin: 75% 70%; z-index: 0; }
.hero.v2::before { z-index: 1; background:
  linear-gradient(to top, rgba(16,20,26,.9) 0%, rgba(16,20,26,.35) 16%, rgba(16,20,26,0) 34%),
  linear-gradient(to right, rgba(16,20,26,.78) 0%, rgba(16,20,26,.5) 38%, rgba(16,20,26,0) 66%); }
@media (max-width: 720px) {
  .hero.v2 .hero-bg { top: -3%; background-image: url("img/bodensee.jpg"); background-position: 30% 62%; }
  .hero.v2::before { background: linear-gradient(to top, rgba(16,20,26,.92) 0%, rgba(16,20,26,.55) 45%, rgba(16,20,26,.15) 80%); }
}
.hero.v2 > .hero-inner, .hero.v2 > .hero-areas { position: relative; z-index: 2; }
.hero-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 150px 34px 56px; }
.hero-eyebrow { margin: 0 0 18px; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--sunset); font-weight: 500; }
.hero.v2 h1 { margin: 0; font-weight: 300; font-size: clamp(38px, 5.6vw, 78px); line-height: 1.06; letter-spacing: -.5px; max-width: 1180px; }
.hero.v2 h1 span { color: var(--sunset); }
.hero.v2 .claim { margin: 26px 0 34px; font-weight: 400; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .4px; color: rgba(255,255,255,.82); }
.hero.v2 .actions { justify-content: flex-start; }
.button.sunset { background: var(--sunset); color: #1b1f24 !important; }
.button.sunset:hover { background: var(--sunset-dark); }
.hero-areas { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 max(0px, calc((100% - 1240px) / 2 + 4px)); border-top: 1px solid rgba(255,255,255,.16); background: rgba(12,15,20,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-areas .ha { --c: #fff; display: flex; flex-direction: column; gap: 4px; padding: 22px 30px 24px; text-decoration: none; color: #fff; border-top: 4px solid var(--c); border-right: 1px solid rgba(255,255,255,.10); transition: background .25s; }
.hero-areas .ha:last-child { border-right: 0; }
.hero-areas .ha:hover { background: rgba(255,255,255,.08); }
.hero-areas .ha span { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hero-areas .ha strong { font-weight: 500; font-size: 17px; }
.hero-areas .ha strong::after { content: " →"; color: var(--c); transition: margin-left .2s; }
.hero-areas .ha:hover strong::after { margin-left: 4px; }
.hero-areas .ha.arcworx { --c: #2fb3a5; }
.hero-areas .ha.marine { --c: #5b86d6; }
.hero-areas .ha.climatix { --c: #9aa7b6; }
/* Farbtausch arcworx <-> Climatix auch in den Bereichskarten der Startseite */
.area.arcworx { --c: var(--teal); --c-soft: var(--teal-soft); }
.area.climatix { --c: #1f2a37; --c-soft: #eceff3; }
.hero-areas .ha.vb { --c: #d97a68; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero.v2 .hero-eyebrow, .hero.v2 h1, .hero.v2 .claim, .hero.v2 .actions, .hero-areas { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero.v2 h1 { animation-delay: .12s; }
.hero.v2 .claim { animation-delay: .28s; }
.hero.v2 .actions { animation-delay: .42s; }
.hero-areas { animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
  .hero.v2 .hero-bg, .hero.v2 .hero-eyebrow, .hero.v2 h1, .hero.v2 .claim, .hero.v2 .actions, .hero-areas { animation: none; }
}
@media (max-width: 900px) {
  .hero-areas { grid-template-columns: repeat(2, 1fr); }
  .hero-areas .ha:nth-child(2) { border-right: 0; }
}
@media (max-width: 720px) {
  .hero-inner { padding: 150px 16px 36px; }
  .hero-areas .ha { padding: 16px 16px 18px; }
  .hero-areas .ha strong { font-size: 15px; }
}

/* ---------- Hero passt sich auch der Fensterhöhe an (12.10.2026) ----------
   Ziel: Text, Buttons und Kachelleiste bleiben beim Verkleinern im ersten Bildschirm. */
.hero-inner { padding-top: clamp(96px, 17vh, 150px); padding-bottom: clamp(18px, 5vh, 56px); }
.hero-eyebrow { margin-bottom: clamp(8px, 1.8vh, 18px); }
.hero.v2 h1 { font-size: clamp(28px, min(5.6vw, 9.5vh), 78px); }
.hero.v2 .claim { margin: clamp(8px, 2.6vh, 26px) 0 clamp(12px, 3.6vh, 34px); font-size: clamp(14px, min(1.6vw, 2.6vh), 20px); }
.hero-areas .ha { padding-top: clamp(10px, 2.2vh, 22px); padding-bottom: clamp(10px, 2.4vh, 24px); }
@media (max-height: 640px) {
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .nav .brand img { height: 50px; }
  .hero-areas .ha span { display: none; }
  .hero.v2 .button { padding: 9px 20px; }
}
@media (max-width: 720px) {
  .hero-inner { padding: clamp(118px, 19vh, 150px) 16px clamp(16px, 3.5vh, 36px); }
  .hero.v2 h1 { font-size: clamp(28px, min(10vw, 6.6vh), 44px); }
  .hero.v2 .actions .button.sunset { display: none; } /* Bereiche stehen direkt darunter als Kacheln */
}
@media (max-width: 720px) and (max-height: 760px) {
  .hero-areas .ha span { display: none; }
  .hero-areas .ha { padding: 10px 16px 12px; }
}
@media (max-width: 360px) {
  .hero-inner { padding-top: 108px; }
  .hero-areas .ha { padding: 8px 10px 9px; }
  .hero-areas .ha strong { font-size: 13px; line-height: 1.3; }
  .hero.v2 .claim { margin: 6px 0 10px; }
}
@media (max-height: 460px) {
  .nav .brand img { height: 40px; }
  .hero-inner { padding-top: 92px; }
  .hero-areas { grid-template-columns: repeat(4, 1fr); }
  .hero-areas .ha { padding: 8px 10px 9px; border-top-width: 3px; border-right: 1px solid rgba(255,255,255,.10); }
  .hero-areas .ha:last-child { border-right: 0; }
  .hero-areas .ha strong { font-size: 13px; }
}

/* Mobile Apps (Climatix-Seite) */
.app-figure { margin: 0; display: flex; justify-content: center; }
.app-figure svg { width: 100%; max-width: 290px; height: auto; filter: drop-shadow(0 18px 32px rgba(20,35,47,.18)); }
.cx-cards.two { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
@media (max-width: 720px) { .cx-cards.two { grid-template-columns: 1fr; } .app-figure svg { max-width: 240px; } }
.card-tag { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .5px; color: #5f6066; background: #eef1f3; }
.card-tag.accent { color: var(--teal); background: var(--teal-soft); }
/* Sprachumschalter allein in der Navigation: kein Trennstrich */
.nav li.lang-switch:first-child { border-left: 0; padding-left: 0; margin-left: 0; }

/* Referenzen (Climatix-Seite) */
.ref-tech { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ref-tech li { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
