/*
Theme Name: VoltTom
Theme URI: https://www.volttom.at/
Author: VoltTom Elektrotechnik GmbH
Description: Maßgeschneidertes Theme für VoltTom Elektrotechnik.
Version: 1.9.0
Text Domain: volttom
*/

:root {
  --red: #ed1c24;
  --red-dark: #c81018;
  --ink: #111416;
  --ink-soft: #22272a;
  --muted: #657075;
  --line: #dfe3e4;
  --paper: #f4f5f3;
  --white: #fff;
  --radius: 2px;
  --wrap: min(1380px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a, button, input, select, textarea { touch-action: manipulation; }
.vt-icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
input, select, textarea { max-width: 100%; }
main, section, article, aside, div { min-width: 0; }
h1, h2, h3, p, a, address, li, span { overflow-wrap: break-word; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 18px; background: var(--white); color: var(--ink); font-weight: 800; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.content-anchor { position: absolute; top: 0; left: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 2px; background: currentColor; content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.03; letter-spacing: -.045em; }
h2 { margin-bottom: 28px; font-size: clamp(42px, 5vw, 78px); font-weight: 500; }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(18px, 1.6vw, 23px); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 27px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: .25s ease;
}
.button:hover { border-color: var(--red-dark); background: var(--red-dark); transform: translateY(-2px); }
.button--outline { border-color: rgba(255,255,255,.5); background: transparent; }
.button--outline:hover { border-color: var(--white); background: var(--white); color: var(--ink); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 20px;
  left: 0;
  width: 100%;
  color: var(--ink);
}
.body-page .site-header, body:not(.home) .site-header { position: absolute; }
.header-inner {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  min-height: 92px;
  padding: 0 22px 0 28px;
  border: 1px solid rgba(17,20,22,.08);
  background: rgba(255,255,255,.97);
  box-shadow: 0 15px 45px rgba(0,0,0,.13);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; width: 220px; height: 70px; overflow: hidden; }
.brand img { width: 220px; height: auto; filter: none; }
.main-nav { justify-self: center; }
.main-nav ul { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; }
.main-nav a { font-size: 14px; font-weight: 700; }
.main-nav a:hover { color: var(--red); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--red); }
.main-nav li { position: relative; }
.main-nav .sub-menu { position: absolute; top: calc(100% + 22px); left: -24px; display: block; visibility: hidden; width: 350px; padding: 15px 0; background: var(--white); box-shadow: 0 18px 50px rgba(0,0,0,.18); opacity: 0; transform: translateY(8px); transition: .22s; }
.main-nav .sub-menu::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 24px; content: ""; }
.main-nav .sub-menu li { display: block; }
.main-nav .sub-menu a { display: block; padding: 10px 24px; color: var(--ink); font-size: 14px; font-weight: 600; }
.main-nav .sub-menu a:hover { color: var(--red); background: var(--paper); }
.main-nav .menu-item-has-children:hover > .sub-menu, .main-nav .menu-item-has-children:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.header-contact { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #3d4549; font-size: 14px; font-weight: 700; white-space: nowrap; }
.header-phone .vt-icon { width: 18px; height: 18px; color: var(--red); }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 900px;
  min-height: max(720px, 100svh);
  padding: 200px 0 105px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero::before, .hero::after { position: absolute; inset: 0; content: ""; }
.hero::before {
  background: var(--hero-image, url('assets/images/hero-gewerbe.webp')) center 48% / cover no-repeat;
  animation: heroZoom 16s ease-out both;
}
.hero::after { background: linear-gradient(90deg, rgba(7,10,12,.86) 0%, rgba(7,10,12,.47) 48%, rgba(7,10,12,.1) 80%), linear-gradient(0deg, rgba(7,10,12,.5), transparent 50%); }
.hero-content { position: relative; z-index: 2; max-width: 910px; }
.hero h1 { max-width: 900px; margin-bottom: 34px; font-size: clamp(56px, 7vw, 112px); font-weight: 500; }
.hero h1 span { color: var(--red); }
.hero-text { max-width: 700px; margin-bottom: 40px; color: rgba(255,255,255,.82); font-size: clamp(18px, 1.6vw, 24px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tag {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 36px;
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.intro { padding: 140px 0; background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: end; }
.intro h2 { margin-bottom: 0; }
.intro-copy { padding-bottom: 8px; }
.intro-copy p { max-width: 650px; color: var(--muted); font-size: 21px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 16px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.text-link::after { content: "\2192"; font-size: 20px; transition: transform .2s; }
.text-link:hover::after { transform: translateX(5px); }

.services { padding: 140px 0; }
.services-head { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 70px; }
.services-head h2 { max-width: 750px; margin-bottom: 0; }
.services-head .lead { max-width: 480px; margin-bottom: 6px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 380px; padding: 34px 30px; border-right: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); overflow: hidden; background-image: linear-gradient(180deg, rgba(8,12,14,.36), rgba(8,12,14,.88)), var(--service-image); background-position: center; background-size: cover; color: var(--white); transition: transform .3s ease, background-size .45s ease; }
.service-card::after { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(237,28,36,0), rgba(237,28,36,.16)); content: ""; opacity: 0; transition: opacity .3s ease; }
.service-card:hover { color: var(--white); transform: translateY(-8px); }
.service-card:hover::after { opacity: 1; }
.service-number { position: relative; z-index: 1; color: #ff4a51; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.service-icon { position: absolute; z-index: 2; top: 26px; right: 26px; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.35); background: rgba(8,12,14,.28); color: var(--white); backdrop-filter: blur(8px); }
.service-icon .vt-icon { width: 29px; height: 29px; }
.service-card h3 { position: relative; z-index: 1; margin: 80px 0 18px; font-size: clamp(25px, 2vw, 34px); font-weight: 500; }
.service-card p { position: relative; z-index: 1; color: rgba(255,255,255,.78); font-size: 15px; }
.service-card:hover p { color: rgba(255,255,255,.88); }
.service-card strong { position: absolute; z-index: 2; bottom: 28px; left: 30px; color: var(--red); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .25s; }
.service-card:hover strong, .service-card:focus-visible strong { opacity: 1; transform: none; }

.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: var(--ink); color: var(--white); }
.feature-image { min-height: 620px; background: var(--feature-image, url('assets/images/wechselrichter.jpeg')) center / cover no-repeat; }
.feature-copy { display: flex; align-items: center; padding: 90px max(7vw, 60px); }
.feature-copy h2 { font-size: clamp(45px, 5vw, 76px); }
.feature-copy p { max-width: 630px; color: rgba(255,255,255,.68); font-size: 19px; }
.ticks { display: grid; gap: 14px; margin: 34px 0 38px; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 13px; align-items: center; }
.ticks li::before { color: var(--red); content: "\2713"; font-weight: 900; }

.projects { padding: 140px 0 110px; background: var(--paper); }
.projects-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 65px; }
.projects-head h2 { margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: 380px 380px; gap: 18px; }
.project-card { position: relative; min-height: 100%; overflow: hidden; background: var(--ink); color: var(--white); }
.project-card:first-child { grid-row: 1 / 3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.76), transparent 55%); content: ""; }
.project-info { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 36px; }
.project-info span { color: #ff7a7f; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-info h3 { margin: 10px 0 0; font-size: clamp(27px, 3vw, 42px); font-weight: 500; }
.project-info p { margin: 10px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }

.stats { padding: 95px 0; background: var(--red); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 10px 55px; border-right: 1px solid rgba(255,255,255,.35); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(48px, 6vw, 86px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.stat span { display: block; margin-top: 14px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.about { padding: 150px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-media { position: relative; }
.about-collage { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; aspect-ratio: 1.15; overflow: hidden; background: var(--paper); }
.about-collage img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: filter .4s ease, transform .5s ease; }
.about-collage img:nth-child(1) { object-position: 50% 38%; }
.about-collage img:nth-child(2) { object-position: 50% 35%; }
.about-collage img:nth-child(3) { object-position: 50% 25%; }
.about-collage img:nth-child(4) { object-position: 50% 34%; }
.about-collage--projects img { object-position: center !important; }
.about-media:hover .about-collage img { filter: saturate(1); transform: scale(1.015); }
.about-badge { position: absolute; right: -35px; bottom: -35px; display: grid; place-items: center; width: 155px; height: 155px; padding: 20px; border-radius: 50%; background: var(--red); color: white; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.about-copy p { color: var(--muted); font-size: 19px; }

.cta { position: relative; padding: 140px 0; overflow: hidden; background: var(--cta-image, url('assets/images/wald.jpg')) center / cover no-repeat; color: var(--white); text-align: center; }
.cta::before { position: absolute; inset: 0; background: rgba(9,14,14,.78); content: ""; }
.cta .wrap { position: relative; }
.cta h2 { max-width: 920px; margin: 0 auto 28px; }
.cta p { max-width: 650px; margin: 0 auto 38px; color: rgba(255,255,255,.75); font-size: 20px; }

.site-footer { padding: 0 0 30px; overflow: hidden; background: #0d0f10; color: var(--white); }

.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 620px; padding: 190px 0 90px; overflow: hidden; background: var(--ink); color: var(--white); }
.page-hero::before, .page-hero::after { position: absolute; inset: 0; content: ""; }
.page-hero::before { background: var(--page-image, url('assets/images/hero-gewerbe.webp')) center / cover no-repeat; }
.page-hero::after { background: linear-gradient(90deg, rgba(7,10,12,.9), rgba(7,10,12,.25)), linear-gradient(0deg, rgba(7,10,12,.55), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(55px, 7vw, 105px); font-weight: 500; }
.page-hero .lead { margin: 28px 0 0; color: rgba(255,255,255,.75); }
.page-hero--legal { min-height: 480px; background: var(--ink-soft); }
.page-hero--legal::before { background: var(--legal-image, url('assets/images/wald.jpg')) center 55% / cover no-repeat; opacity: .24; }
.breadcrumbs { margin-bottom: 26px; color: rgba(255,255,255,.6); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs a { color: var(--white); }
.page-section { padding: 125px 0; }
.page-section--soft { background: var(--paper); }
.page-two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.page-two-col h2 { font-size: clamp(42px, 4.5vw, 70px); }
.page-copy p { color: var(--muted); font-size: 19px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: var(--line); border: 1px solid var(--line); }
.benefit { min-height: 250px; padding: 35px; background: var(--white); }
.benefit strong { display: block; margin-bottom: 55px; color: var(--red); font-size: 13px; }
.benefit h3 { font-size: 27px; font-weight: 500; }
.subpage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.subpage-card { position: relative; min-height: 430px; overflow: hidden; background: var(--ink); color: var(--white); }
.subpage-card img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: .5s; }
.subpage-card:hover img { opacity: .5; transform: scale(1.04); }
.subpage-card div { position: absolute; right: 0; bottom: 0; left: 0; padding: 30px; }
.subpage-card h3 { margin-bottom: 12px; font-size: 30px; font-weight: 500; }
.subpage-card span { color: #ff858a; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.about-hero::before { display: none; }
.about-hero::after { z-index: 1; background: linear-gradient(90deg, rgba(7,10,12,.94) 0%, rgba(7,10,12,.7) 43%, rgba(7,10,12,.42) 100%), linear-gradient(0deg, rgba(7,10,12,.72), transparent 65%); }
.about-hero .wrap { z-index: 2; }
.about-hero-media { position: absolute; z-index: 0; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: var(--ink); }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); }
.about-hero-media img:nth-child(1) { object-position: 50% 40%; }
.about-hero-media img:nth-child(2) { object-position: 50% 34%; }
.about-hero-media img:nth-child(3) { object-position: 50% 26%; }
.about-hero-media img:nth-child(4) { object-position: 50% 35%; }
.about-hero h1 { max-width: 1050px; }
.about-intro { background: var(--white); }
.team-section { background: var(--paper); }
.team-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; margin-bottom: 75px; }
.team-heading h2 { margin-bottom: 0; }
.team-heading .lead { margin-bottom: 8px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 90px 28px; }
.team-card:nth-child(even) { margin-top: 85px; }
.team-card-image { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #dfe2df; }
.team-card-image::after { position: absolute; inset: 0; border: 1px solid rgba(17,20,22,.08); content: ""; pointer-events: none; }
.team-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: filter .45s ease, transform .65s ease; }
.team-card:hover .team-card-image img { filter: saturate(1); transform: scale(1.025); }
.team-card-copy { position: relative; min-height: 265px; padding: 30px 40px 0 0; }
.team-card-copy::before { display: block; width: 42px; height: 3px; margin-bottom: 25px; background: var(--red); content: ""; }
.team-card-copy > span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.team-card-copy h3 { margin: 10px 0 18px; font-size: clamp(45px, 5vw, 72px); font-weight: 500; letter-spacing: -.04em; }
.team-card-copy p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.about-values { padding: 95px 0; background: var(--ink); color: var(--white); }
.about-values .eyebrow { margin-bottom: 38px; }
.about-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.about-values-grid span { min-height: 155px; padding: 25px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); color: var(--red); font-size: 11px; font-weight: 800; }
.about-values-grid strong { display: block; margin-top: 55px; color: var(--white); font-size: clamp(19px, 2vw, 26px); font-weight: 500; }
.about-cta { background-image: var(--cta-image, url('assets/images/projects/fahrschule-mayr.webp')); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-card { padding: 50px; background: var(--paper); }
.contact-card h3 { font-size: 30px; }
.contact-card a, .contact-card address { display: block; margin: 12px 0; color: var(--muted); font-style: normal; font-size: 19px; }
.contact-form { display: grid; gap: 17px; }
.contact-form label { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; padding: 16px; border: 1px solid var(--line); background: var(--white); font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); outline: 3px solid rgba(237,28,36,.12); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form label span { color: var(--muted); font-size: 12px; font-weight: 500; text-transform: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.privacy-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 13px !important; font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.5; text-transform: none !important; }
.privacy-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.privacy-check a, .form-note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.contact-honeypot { position: absolute; left: -9999px; }
.form-message { padding: 18px 20px; border-left: 3px solid; font-size: 15px; }
.form-message strong { display: block; }
.form-message--success { border-color: #248447; background: #edf8f0; color: #155a2e; }
.form-message--error { border-color: var(--red); background: #fff0f0; color: #8b1117; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; }
.contact-hero { min-height: 580px; }
.contact-wizard-section { position: relative; overflow: hidden; padding: 115px 0; background: var(--ink); color: var(--white); }
.contact-wizard-section::before { position: absolute; top: -250px; left: -280px; width: 720px; height: 720px; border-radius: 50%; background: rgba(255,255,255,.09); content: ""; }
.contact-wizard-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(65px, 8vw, 130px); align-items: center; }
.multi-step-form { position: relative; min-height: 650px; padding: clamp(34px, 5vw, 65px); background: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.25); color: var(--ink); scroll-margin-top: 120px; }
.multi-step-form .form-message { margin: 0 0 25px; }
.wizard-progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 52px; }
.wizard-progress::before, .wizard-progress::after { position: absolute; top: 17px; right: 11%; left: 11%; height: 2px; content: ""; }
.wizard-progress::before { background: var(--line); }
.wizard-progress::after { right: auto; width: calc(var(--wizard-progress, 0%) * .78); background: var(--red); transition: width .35s ease; }
.wizard-progress-item { position: relative; z-index: 1; display: grid; justify-items: center; gap: 9px; color: #90979a; text-align: center; }
.wizard-progress-item span { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #aeb4b6; border-radius: 50%; background: var(--white); font-size: 13px; font-weight: 800; transition: .25s; }
.wizard-progress-item strong { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.wizard-progress-item.is-active, .wizard-progress-item.is-complete { color: var(--red); }
.wizard-progress-item.is-active span, .wizard-progress-item.is-complete span { border-color: var(--red); }
.wizard-progress-item.is-complete span { background: var(--red); color: var(--white); }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.multi-step-form.is-enhanced .form-step:not(.is-active) { display: none; }
.form-step legend { width: 100%; margin-bottom: 32px; font-size: clamp(28px, 3vw, 43px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.form-step legend span { display: block; margin-bottom: 10px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-group { margin-bottom: 30px; }
.form-label { margin: 0 0 11px; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.form-label small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid--two { grid-template-columns: repeat(2, 1fr); }
.choice-grid--services { grid-template-columns: repeat(2, 1fr); }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.choice-card > span { display: flex; min-height: 112px; padding: 20px; border: 1px solid var(--line); background: #fafafa; color: var(--ink); flex-direction: column; justify-content: center; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice-card strong { margin-bottom: 5px; font-size: 18px; }
.choice-icon { width: 30px; height: 30px; margin-bottom: 14px; color: var(--red); }
.choice-card small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.choice-card input:checked + span { border-color: var(--red); background: #fff5f5; box-shadow: inset 0 0 0 1px var(--red); }
.choice-card input:focus-visible + span { outline: 3px solid rgba(237,28,36,.18); outline-offset: 2px; }
.choice-card--compact > span { min-height: 58px; padding: 13px 16px; flex-direction: row; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.choice-compact-icon { width: 20px; height: 20px; color: var(--red); }
.choice-grid.has-error .choice-card > span { border-color: var(--red); }
.field-error { display: none; margin: 8px 0 0; color: #a41218; font-size: 12px; }
.field-error.is-visible { display: block; }
.contact-form select { width: 100%; margin-top: 7px; padding: 16px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); font: inherit; }
.contact-form select:focus { border-color: var(--red); outline: 3px solid rgba(237,28,36,.12); }
.contact-form [aria-invalid="true"] { border-color: var(--red); }
.multi-step-form.is-enhanced .company-field { display: none; }
.multi-step-form.is-enhanced .company-field.is-visible { display: block; }
.form-row--address { grid-template-columns: .42fr 1fr; }
.wizard-actions { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 30px; }
.wizard-actions--end { justify-content: flex-end; }
.wizard-actions .button { min-width: 145px; }
.wizard-prev { padding: 13px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; }
.wizard-prev:hover { color: var(--ink); }
.summary-intro { margin: -15px 0 25px; color: var(--muted); font-size: 15px; }
.form-summary { margin-bottom: 27px; border-top: 1px solid var(--line); }
.form-summary > div { display: grid; grid-template-columns: 155px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.form-summary strong { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.form-summary span { color: var(--muted); font-size: 13px; white-space: pre-line; }
.contact-wizard-aside { max-width: 520px; }
.contact-wizard-aside h2 { margin-bottom: 25px; font-size: clamp(43px, 5vw, 73px); }
.contact-wizard-aside > p:not(.eyebrow) { color: rgba(255,255,255,.65); font-size: 18px; }
.contact-promises { margin: 35px 0 45px; padding: 0; list-style: none; }
.contact-promises li { display: flex; gap: 11px; align-items: center; margin: 14px 0; color: rgba(255,255,255,.8); }
.contact-promises .vt-icon { width: 19px; height: 19px; color: #ff5258; }
.contact-direct { padding-top: 30px; border-top: 1px solid rgba(255,255,255,.15); }
.contact-direct > span { display: block; margin-bottom: 12px; color: rgba(255,255,255,.45); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-direct a { display: flex; width: max-content; align-items: center; gap: 10px; margin: 7px 0; color: var(--white); font-size: 18px; font-weight: 700; }
.contact-direct a .vt-icon { width: 19px; height: 19px; color: #ff5258; }
.legal-content { max-width: 960px; }
.legal-content h2 { margin: 65px 0 22px; font-size: clamp(30px, 3vw, 46px); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 42px 0 18px; font-size: 25px; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #4f595d; }
.legal-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul { padding-left: 24px; }
.footer-cta { display: flex; justify-content: space-between; gap: 60px; align-items: end; padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-cta .eyebrow { margin-bottom: 18px; }
.footer-cta h2 { max-width: 850px; margin: 0; font-size: clamp(40px, 5vw, 72px); }
.footer-cta .button { flex: 0 0 auto; margin-bottom: 8px; }
.footer-main { display: grid; grid-template-columns: 1.45fr .7fr .9fr 1fr; gap: clamp(40px, 6vw, 90px); padding: 75px 0 70px; }
.footer-logo { display: flex; align-items: center; width: min(100%, 315px); min-height: 96px; margin-bottom: 28px; padding: 16px 20px; background: var(--white); }
.footer-logo img { width: 100%; height: auto; margin: 0; filter: none; }
.footer-brand > p { max-width: 420px; margin-bottom: 30px; color: rgba(255,255,255,.58); font-size: 15px; }
.footer-partner { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; max-width: 350px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-partner img { width: 150px; height: auto; margin: 0; filter: none; }
.footer-partner span { color: rgba(255,255,255,.64); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.footer-partner:hover span { color: var(--white); }
.footer-col h3 { margin-bottom: 27px; color: #8f989c; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.footer-col a, .footer-col address { display: block; margin-bottom: 13px; color: rgba(255,255,255,.76); font-style: normal; font-size: 14px; }
.footer-col a { transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--white); transform: translateX(3px); }
.footer-contact-link { display: flex !important; align-items: center; gap: 10px; color: var(--white) !important; font-size: 17px !important; font-weight: 700; }
.footer-contact-link .vt-icon, .footer-address .vt-icon { width: 18px; height: 18px; color: #ff5258; }
.footer-address { display: flex; gap: 10px; align-items: flex-start; margin-top: 25px; }
.footer-address address { margin: 0; color: rgba(255,255,255,.52); line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.42); font-size: 12px; }
.footer-legal { display: flex; gap: 24px; }

.project-hero { min-height: 760px; }
.project-hero::after { background: linear-gradient(90deg, rgba(7,10,12,.92) 0%, rgba(7,10,12,.55) 55%, rgba(7,10,12,.18)), linear-gradient(0deg, rgba(7,10,12,.58), transparent 60%); }
.project-index { background: var(--white); }
.project-index-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: end; margin-bottom: 55px; }
.project-index-head h2 { margin-bottom: 0; }
.project-index-head .lead { margin-bottom: 8px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.project-filter { padding: 11px 18px; border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: .2s; }
.project-filter:hover, .project-filter.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.reference-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 45px 22px; }
.reference-card { display: block; transition: opacity .25s, transform .25s; }
.reference-card.is-filtered { display: none; }
.reference-card-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.reference-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.reference-card:hover .reference-card-image img { transform: scale(1.035); }
.reference-card-copy { position: relative; padding: 25px 95px 0 0; }
.reference-card-copy > span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.reference-card-copy h3 { margin: 10px 0 8px; font-size: clamp(28px, 3vw, 43px); font-weight: 500; }
.reference-card-copy p { margin: 0; color: var(--muted); }
.reference-card-copy strong { position: absolute; top: 31px; right: 0; color: var(--ink); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.reference-card-copy i { display: inline-block; margin-left: 7px; color: var(--red); font-size: 18px; font-style: normal; transition: transform .2s; }
.reference-card:hover i { transform: translateX(5px); }
.stories-heading { max-width: 860px; margin-bottom: 70px; }
.project-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(55px, 7vw, 110px); align-items: center; padding: 80px 0; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.project-story:last-child { padding-bottom: 0; }
.project-story:nth-of-type(even) .project-story-media { order: 2; }
.project-story-media { aspect-ratio: 3 / 2; overflow: hidden; background: #e7e9e7; }
.project-story-media img { width: 100%; height: 100%; object-fit: cover; }
.project-story-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 35px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-story-meta span:first-child { color: var(--red); }
.project-story-copy h2 { margin-bottom: 22px; font-size: clamp(40px, 4.2vw, 66px); }
.project-story-lead { color: var(--ink) !important; font-size: clamp(19px, 1.6vw, 23px) !important; line-height: 1.45; }
.project-story-copy > p { color: var(--muted); }
.project-story-gallery { order: 3; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: -35px; }
.project-story-gallery a, .project-image-placeholder { aspect-ratio: 4 / 3; overflow: hidden; background: #e7e9e7; }
.project-story-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.project-story-gallery a:hover img { transform: scale(1.035); }
.project-facts { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 32px 0; background: var(--white); }
.project-facts th, .project-facts td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; font-size: 13px; }
.project-facts th { width: 46%; font-weight: 700; }
.project-facts td { color: var(--muted); font-weight: 400; }
.project-cta { background-image: var(--cta-image, url('assets/images/projects/fahrschule-mayr.webp')); }
.error-hero h1 { max-width: 900px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 32px; }
.error-actions .text-link { margin-top: 0; }

.loxone-hero::after { background: linear-gradient(90deg, rgba(7,10,12,.92), rgba(7,10,12,.3)), linear-gradient(0deg, rgba(7,10,12,.58), transparent 60%); }
.loxone-hero h1 { max-width: 900px; }
.loxone-intro-grid { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(65px, 9vw, 140px); align-items: center; }
.loxone-intro .page-copy { max-width: 720px; margin-bottom: 35px; }
.loxone-partner-card { padding: clamp(35px, 5vw, 65px); background: #e7e6e3; }
.loxone-partner-card > img { width: 100%; height: auto; margin-bottom: 45px; }
.loxone-partner-card > div { padding-top: 28px; border-top: 1px solid #c9c8c5; }
.loxone-partner-card strong { display: block; margin-bottom: 12px; font-size: 22px; }
.loxone-partner-card p { margin: 0; color: var(--muted); }
.loxone-section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 65px; }
.loxone-section-head h2 { max-width: 800px; margin-bottom: 0; }
.loxone-section-head .lead { margin-bottom: 8px; }
.loxone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.loxone-grid article { min-height: 310px; padding: 35px; background: var(--white); transition: background .25s, color .25s, transform .25s; }
.loxone-grid article:hover { z-index: 1; background: var(--ink); color: var(--white); transform: translateY(-5px); }
.loxone-grid span { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.loxone-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.loxone-icon { width: 36px; height: 36px; color: var(--red); transition: color .25s; }
.loxone-grid article:hover .loxone-icon { color: #ff676c; }
.loxone-grid h3 { margin: 58px 0 18px; font-size: clamp(25px, 2vw, 33px); font-weight: 500; }
.loxone-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.loxone-grid article:hover p { color: rgba(255,255,255,.65); }
.loxone-energy { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: var(--ink); color: var(--white); }
.loxone-energy-visual { position: relative; min-height: 620px; overflow: hidden; background: #e7e8e5; color: var(--ink); }
.loxone-energy-visual::before, .loxone-energy-visual::after { position: absolute; top: 50%; left: 50%; width: 62%; height: 1px; background: rgba(17,20,22,.2); content: ""; }
.loxone-energy-visual::before { transform: translate(-50%,-50%) rotate(35deg); }
.loxone-energy-visual::after { transform: translate(-50%,-50%) rotate(-35deg); }
.energy-core { position: absolute; z-index: 2; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 210px; height: 210px; border-radius: 50%; background: #8cff70; font-size: 27px; font-weight: 800; letter-spacing: .05em; transform: translate(-50%,-50%); }
.energy-core span { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.energy-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 105px; height: 105px; border: 1px solid #b9bdb8; border-radius: 50%; background: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.energy-node--one { top: 16%; left: 17%; }
.energy-node--two { top: 19%; right: 14%; }
.energy-node--three { right: 17%; bottom: 15%; }
.energy-node--four { bottom: 18%; left: 14%; }
.loxone-energy-copy { display: flex; align-items: center; padding: 90px max(7vw, 60px); }
.loxone-energy-copy h2 { font-size: clamp(45px, 5vw, 76px); }
.loxone-energy-copy p { max-width: 650px; color: rgba(255,255,255,.68); font-size: 18px; }
.loxone-process .benefit-grid { margin-top: 0; }
.loxone-cta { background-image: var(--cta-image, url('assets/images/projekt-haus.webp')); }

.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 1100px) {
  :root { --wrap: min(100% - 40px, 1380px); }
  .header-inner { grid-template-columns: 220px 1fr auto; }
  .main-nav { display: none; }
  .menu-toggle { display: block; min-width: 52px; min-height: 44px; padding: 8px 10px; color: var(--ink); cursor: pointer; font-weight: 800; }
  .main-nav.is-open { position: fixed; inset: 0; z-index: 25; display: flex; align-items: flex-start; justify-content: center; padding: 125px 24px 50px; padding: max(125px, env(safe-area-inset-top)) 24px max(50px, env(safe-area-inset-bottom)); background: #0d0f10; color: var(--white); overflow-y: auto; overscroll-behavior: contain; }
  .menu-toggle { position: relative; z-index: 30; }
  body.menu-open .menu-toggle { color: var(--white); }
  .main-nav.is-open > ul { width: min(100%, 620px); flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
  .main-nav.is-open a { display: flex; min-height: 48px; align-items: center; justify-content: center; font-size: clamp(23px, 4vw, 30px); }
  .main-nav.is-open .sub-menu { position: static; display: none; visibility: visible; width: min(90vw, 520px); padding: 8px 0; background: transparent; box-shadow: none; opacity: 1; transform: none; }
  .main-nav.is-open .menu-item-has-children:hover .sub-menu, .main-nav.is-open .menu-item-has-children:focus-within .sub-menu, .main-nav.is-open .menu-item-has-children.submenu-open .sub-menu { display: block; }
  .main-nav.is-open .sub-menu a { min-height: 42px; padding: 8px 12px; color: rgba(255,255,255,.7); font-size: 16px; text-align: center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .subpage-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .about-grid { gap: 55px; }
  .feature { grid-template-columns: .9fr 1.1fr; }
  .footer-main { grid-template-columns: 1.25fr 1fr; }
  .project-story { grid-template-columns: .9fr 1.1fr; gap: 55px; }
  .reference-card-copy { padding-right: 0; }
  .reference-card-copy strong { position: static; display: block; margin-top: 14px; }
  .loxone-intro-grid { gap: 60px; }
  .loxone-grid { grid-template-columns: repeat(2, 1fr); }
  .loxone-energy { grid-template-columns: .9fr 1.1fr; }
  .contact-wizard-layout { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 55px; }
  .team-grid { gap: 70px 24px; }
}

@media (max-width: 900px) {
  .intro-grid, .about-grid, .feature, .page-two-col, .contact-grid, .contact-wizard-layout, .loxone-intro-grid, .loxone-section-head, .loxone-energy, .project-index-head, .project-story { grid-template-columns: 1fr; }
  .intro-grid, .about-grid, .page-two-col { gap: 45px; }
  .services-head, .projects-head { display: block; }
  .services-head h2, .projects-head h2 { margin-bottom: 28px; }
  .feature-image { min-height: 520px; }
  .feature-copy, .loxone-energy-copy { padding: 90px max(32px, 7vw); }
  .footer-cta { display: block; }
  .footer-cta h2 { margin-bottom: 30px; }
  .contact-wizard-layout { gap: 65px; }
  .contact-wizard-aside { max-width: 680px; }
  .project-index-head, .project-story { gap: 42px; }
  .project-story:nth-of-type(even) .project-story-media { order: 0; }
  .project-story-gallery { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
  .loxone-section-head { gap: 30px; }
  .loxone-energy-visual { min-height: 560px; }
  .team-heading { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  :root { --wrap: calc(100% - 32px); }
  body { font-size: 16px; }
  h2 { font-size: clamp(38px, 11vw, 58px); }
  .site-header { top: 10px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 74px; padding: 0 14px 0 18px; }
  .brand { width: 175px; height: 58px; }
  .brand img { width: 175px; }
  .header-contact .button, .header-phone { display: none; }
  .hero { min-height: 720px; min-height: 100svh; padding: 145px 0 60px; }
  .hero h1 { font-size: clamp(46px, 13.5vw, 68px); }
  .hero::after { background: linear-gradient(90deg, rgba(7,10,12,.82), rgba(7,10,12,.25)), linear-gradient(0deg, rgba(7,10,12,.68), transparent 60%); }
  .hero-tag { display: none; }
  .hero-actions .button { width: 100%; }
  .intro, .services, .projects, .about { padding: 90px 0; }
  .intro-grid, .about-grid, .feature, .footer-main { grid-template-columns: 1fr; }
  .intro-grid { gap: 36px; }
  .services-head, .projects-head { display: block; }
  .services-head h2, .projects-head h2 { margin-bottom: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 285px; }
  .service-card h3 { margin-top: 55px; }
  .service-card strong { bottom: 24px; opacity: 1; transform: none; }
  .feature-image { min-height: 430px; }
  .feature-copy { padding: 80px 24px; }
  .project-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .project-card, .project-card:first-child { grid-row: auto; min-height: 420px; }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat, .stat:first-child { padding: 0 0 35px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .stat:last-child { padding-bottom: 0; border-bottom: 0; }
  .about-grid { gap: 75px; }
  .about-badge { right: 15px; bottom: -45px; width: 125px; height: 125px; }
  .cta { padding: 100px 0; }
  .footer-cta { display: block; padding: 65px 0; }
  .footer-cta h2 { margin-bottom: 30px; }
  .footer-main { gap: 45px; }
  .footer-bottom { display: block; }
  .footer-col a { display: flex; min-height: 44px; align-items: center; margin-bottom: 0; }
  .footer-legal a, .text-link, .project-filter, .contact-direct a { min-height: 44px; }
  .page-hero { min-height: 520px; padding: 150px 0 62px; }
  .page-hero h1 { font-size: clamp(41px, 12vw, 62px); }
  .page-hero .lead { margin-top: 20px; }
  .breadcrumbs { margin-bottom: 20px; font-size: 10px; line-height: 1.6; }
  .about-hero-media { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
  .about-hero::after { background: linear-gradient(90deg, rgba(7,10,12,.94), rgba(7,10,12,.62)), linear-gradient(0deg, rgba(7,10,12,.74), transparent 55%); }
  .page-section { padding: 85px 0; }
  .page-two-col, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .team-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 45px; }
  .team-grid { grid-template-columns: 1fr; gap: 60px; }
  .team-card:nth-child(even) { margin-top: 0; }
  .team-card-copy { min-height: 0; padding-right: 0; }
  .team-card-copy p { font-size: 16px; }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid span { min-height: 135px; }
  .about-values-grid strong { margin-top: 42px; }
  .benefit-grid, .subpage-grid { grid-template-columns: 1fr; }
  .subpage-card { min-height: 360px; }
  .contact-card { padding: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-wizard-section { padding: 70px 0; }
  .contact-wizard-layout { grid-template-columns: 1fr; gap: 60px; }
  .multi-step-form { min-height: 0; padding: 30px 20px; }
  .contact-form input, .contact-form select, .contact-form textarea { min-height: 52px; font-size: 16px; }
  .wizard-progress { margin-bottom: 38px; }
  .wizard-progress-item strong { font-size: 9px; }
  .choice-grid--two, .choice-grid--services { grid-template-columns: 1fr; }
  .choice-card > span { min-height: 88px; }
  .choice-card--compact > span { min-height: 55px; }
  .wizard-actions { align-items: stretch; flex-direction: column-reverse; }
  .wizard-actions--end { align-items: stretch; }
  .wizard-actions .button { width: 100%; }
  .form-summary > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-wizard-aside { padding: 0 8px; }
  .footer-legal { margin-top: 15px; }
  .project-hero { min-height: 650px; }
  .project-index-head, .project-story { grid-template-columns: 1fr; gap: 38px; }
  .project-index-head { margin-bottom: 40px; }
  .reference-grid { grid-template-columns: 1fr; gap: 45px; }
  .project-filters { flex-wrap: nowrap; margin-right: -16px; padding-right: 16px; overflow-x: auto; }
  .project-filter { flex: 0 0 auto; }
  .project-story { padding: 60px 0; }
  .project-story:nth-of-type(even) .project-story-media { order: 0; }
  .project-story-gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stories-heading { margin-bottom: 35px; }
  .loxone-intro-grid, .loxone-section-head, .loxone-energy { grid-template-columns: 1fr; }
  .loxone-section-head { gap: 28px; margin-bottom: 45px; }
  .loxone-grid { grid-template-columns: 1fr; }
  .loxone-grid article { min-height: 270px; }
  .loxone-grid h3 { margin-top: 52px; }
  .loxone-energy-visual { min-height: 480px; }
  .energy-core { width: 155px; height: 155px; font-size: 21px; }
  .energy-core span { margin-top: 4px; font-size: 8px; }
  .energy-node { width: 80px; height: 80px; font-size: 9px; }
  .loxone-energy-copy { padding: 80px 24px; }
  .footer-logo { width: 285px; min-height: 88px; }
  .footer-partner { grid-template-columns: 135px 1fr; }
}

@media (max-width: 480px) {
  :root { --wrap: calc(100% - 24px); }
  .site-header { top: 8px; }
  .header-inner { min-height: 68px; padding: 0 8px 0 13px; }
  .brand, .brand img { width: 150px; }
  .brand { height: 52px; }
  .menu-toggle { min-width: 50px; padding-inline: 6px; font-size: 14px; }
  .main-nav.is-open { padding-right: 16px; padding-left: 16px; }
  .main-nav.is-open a { font-size: 23px; }
  .hero { padding-top: 125px; padding-bottom: 45px; }
  .hero h1 { margin-bottom: 25px; font-size: clamp(42px, 13.5vw, 58px); }
  .hero-text { margin-bottom: 30px; font-size: 17px; }
  .hero-actions { gap: 10px; }
  .button { width: 100%; min-height: 52px; padding-inline: 18px; }
  .text-link { line-height: 1.4; }
  .eyebrow { margin-bottom: 18px; font-size: 10px; line-height: 1.4; }
  .eyebrow::before { width: 25px; }
  h2 { font-size: clamp(36px, 11.5vw, 49px); }
  .intro, .services, .projects, .about, .page-section { padding: 72px 0; }
  .services-head { margin-bottom: 45px; }
  .service-card { min-height: 265px; padding: 28px 24px; }
  .service-card strong { left: 24px; }
  .feature-image { min-height: 350px; }
  .feature-copy, .loxone-energy-copy { padding: 65px 20px; }
  .project-card, .project-card:first-child { min-height: 340px; }
  .project-info { padding: 25px 22px; }
  .project-info h3 { font-size: 30px; }
  .stats { padding: 75px 0; }
  .about-badge { right: 8px; bottom: -35px; width: 108px; height: 108px; padding: 14px; font-size: 10px; }
  .cta { padding: 80px 0; }
  .cta p { font-size: 17px; }
  .footer-cta { padding: 55px 0; }
  .footer-main { padding: 55px 0; }
  .footer-logo { width: 100%; min-height: 76px; padding: 13px 16px; }
  .footer-partner { grid-template-columns: 1fr; max-width: 260px; }
  .footer-partner img { width: 160px; }
  .footer-bottom { line-height: 1.6; }
  .footer-legal { flex-wrap: wrap; gap: 10px 20px; }
  .page-hero { min-height: 470px; padding: 130px 0 50px; }
  .page-hero h1 { font-size: clamp(38px, 11.8vw, 50px); }
  .contact-hero { min-height: 520px; }
  .benefit { min-height: 220px; padding: 28px 24px; }
  .subpage-card { min-height: 310px; }
  .subpage-card div { padding: 24px; }
  .team-grid { gap: 48px; }
  .team-card-copy { padding-top: 24px; }
  .team-card-copy h3 { font-size: 46px; }
  .about-values { padding: 70px 0; }
  .about-values-grid { grid-template-columns: 1fr 1fr; }
  .about-values-grid span { min-height: 120px; padding: 18px; }
  .about-values-grid strong { margin-top: 35px; font-size: 17px; }
  .contact-wizard-section { padding: 52px 0 65px; }
  .contact-wizard-layout { gap: 50px; }
  .multi-step-form { padding: 25px 16px; }
  .wizard-progress { margin-bottom: 32px; }
  .wizard-progress-item { gap: 6px; }
  .wizard-progress-item span { width: 31px; height: 31px; }
  .wizard-progress::before, .wizard-progress::after { top: 15px; }
  .wizard-progress-item strong { font-size: 8px; letter-spacing: .02em; }
  .form-step legend { margin-bottom: 25px; font-size: 31px; }
  .choice-card > span { padding: 16px; }
  .privacy-check { grid-template-columns: 24px 1fr; }
  .privacy-check input { width: 20px; height: 20px; }
  .project-hero { min-height: 540px; }
  .project-story { padding: 50px 0; }
  .project-story-meta { flex-wrap: wrap; margin-bottom: 25px; }
  .project-story-copy h2 { font-size: 39px; }
  .project-facts th, .project-facts td { padding: 12px 10px; }
  .project-filters { margin-right: -12px; padding-right: 12px; scrollbar-width: thin; }
  .loxone-partner-card { padding: 28px 22px; }
  .loxone-energy-visual { min-height: 410px; }
  .energy-core { width: 130px; height: 130px; font-size: 18px; }
  .energy-node { width: 68px; height: 68px; font-size: 8px; }
  .energy-node--one { top: 12%; left: 8%; }
  .energy-node--two { top: 14%; right: 7%; }
  .energy-node--three { right: 8%; bottom: 12%; }
  .energy-node--four { bottom: 14%; left: 7%; }
  .error-actions { align-items: stretch; flex-direction: column; }
  .error-actions .text-link { justify-content: center; }
}

@media (hover: none) {
  .button:hover, .service-card:hover, .loxone-grid article:hover { transform: none; }
  .service-card strong { opacity: 1; transform: none; }
  .team-card:hover .team-card-image img, .project-card:hover img, .reference-card:hover .reference-card-image img, .about-media:hover .about-collage img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
