:root {
 --navy: #071d2a;
 --navy-2: #0d2d3c;
 --ink: #102b38;
 --teal: #34d6c4;
 --teal-dark: #0a9f96;
 --ice: #eaf8f6;
 --paper: #f7faf9;
 --white: #ffffff;
 --muted: #637681;
 --line: rgba(16, 43, 56, 0.14);
 --shadow: 0 24px 60px rgba(4, 29, 41, 0.12);
 --radius: 22px;
}

* {
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body {
 margin: 0;
 background: var(--paper);
 color: var(--ink);
 font-family: "Manrope", Arial, sans-serif;
 font-size: 16px;
 line-height: 1.65;
}

a {
 color: inherit;
}

img {
 display: block;
 max-width: 100%;
}

button,
input,
select,
textarea {
 font: inherit;
}

.container {
 width: min(1180px, calc(100% - 40px));
 margin-inline: auto;
}

.section {
 padding: 112px 0;
}

.skip-link {
 position: fixed;
 top: -80px;
 left: 16px;
 z-index: 9999;
 padding: 12px 18px;
 background: var(--teal);
 color: var(--navy);
 font-weight: 800;
}

.skip-link:focus {
 top: 16px;
}

/* FEJLÉC */

.site-header {
 position: absolute;
 inset: 0 0 auto;
 z-index: 20;
 border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.nav-wrap {
 display: flex;
 min-height: 86px;
 align-items: center;
 justify-content: space-between;
 gap: 30px;
}

.brand {
 display: inline-flex;
 align-items: center;
 gap: 13px;
 color: var(--white);
 text-decoration: none;
}

.brand-mark {
 position: relative;
 display: grid;
 width: 43px;
 height: 43px;
 place-items: center;
 border: 1px solid rgba(52, 214, 196, 0.55);
 font-size: 22px;
 font-weight: 800;
}

.brand-mark span {
 position: absolute;
 top: -12px;
 right: -6px;
 color: var(--teal);
 font-size: 15px;
}

.brand-name {
 font-weight: 800;
 letter-spacing: 0.12em;
}

.brand-name em {
 color: var(--teal);
 font-style: normal;
}

.main-nav {
 display: flex;
 align-items: center;
 gap: 32px;
}

.main-nav a {
 color: rgba(255, 255, 255, 0.82);
 font-size: 0.88rem;
 font-weight: 600;
 text-decoration: none;
}

.main-nav a:hover {
 color: var(--teal);
}

.main-nav .nav-cta {
 padding: 13px 20px;
 border: 1px solid rgba(52, 214, 196, 0.7);
 color: var(--white);
}

.menu-toggle,
.menu-button {
 display: none;
}

/* NYITÓSZEKCIÓ */

.hero {
 position: relative;
 display: grid;
 min-height: 830px;
 align-items: center;
 overflow: hidden;
 background: var(--navy);
 color: var(--white);
}

.hero-media {
 position: absolute;
 inset: 0;
 background:
   url("https://cleanhero.at/assets/baureinigung-E3XYE6bH.jpg")
   center / cover no-repeat;
 transform: scale(1.015);
}

.hero-overlay {
 position: absolute;
 inset: 0;
 background:
   linear-gradient(
     90deg,
     rgba(4, 23, 34, 0.97) 0%,
     rgba(4, 23, 34, 0.91) 44%,
     rgba(4, 23, 34, 0.45) 74%,
     rgba(4, 23, 34, 0.24) 100%
   ),
   linear-gradient(
     0deg,
     rgba(4, 23, 34, 0.7),
     transparent 48%
   );
}

.hero-grid {
 position: relative;
 z-index: 2;
 display: grid;
 grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
 align-items: end;
 gap: 80px;
 padding-top: 110px;
}

.hero-copy {
 max-width: 770px;
}

.eyebrow {
 display: flex;
 align-items: center;
 gap: 12px;
 margin: 0 0 22px;
 color: var(--teal);
 font-size: 0.76rem;
 font-weight: 800;
 letter-spacing: 0.18em;
 text-transform: uppercase;
}

.eyebrow span {
 width: 34px;
 height: 1px;
 background: currentColor;
}

.eyebrow.dark {
 color: var(--teal-dark);
}

h1,
h2 {
 font-family: "Playfair Display", Georgia, serif;
 letter-spacing: -0.035em;
}

h1 {
 margin: 0;
 font-size: clamp(3.7rem, 7vw, 6.8rem);
 font-weight: 600;
 line-height: 0.98;
}

h1 strong {
 color: var(--teal);
 font-weight: 600;
}

.hero-lead {
 margin: 30px 0 4px;
 font-size: 1.55rem;
 font-weight: 700;
}

.hero-text {
 max-width: 650px;
 margin: 0;
 color: rgba(255, 255, 255, 0.72);
 font-size: 1.02rem;
}

.hero-actions {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 24px;
 margin-top: 34px;
}

.button {
 display: inline-flex;
 min-height: 56px;
 align-items: center;
 justify-content: center;
 gap: 18px;
 padding: 15px 25px;
 border: 0;
 font-weight: 800;
 text-decoration: none;
 cursor: pointer;
 transition:
   transform 0.2s ease,
   background-color 0.2s ease;
}

.button-primary {
 background: var(--teal);
 box-shadow: 0 12px 30px rgba(52, 214, 196, 0.2);
 color: var(--navy);
}

.button-primary:hover {
 background: #5ce3d4;
 transform: translateY(-2px);
}

.text-link {
 color: var(--white);
 font-size: 0.92rem;
 font-weight: 700;
 text-decoration: none;
}

.text-link span {
 margin-left: 8px;
 color: var(--teal);
}

.hero-card {
 margin-bottom: 6px;
 padding: 34px;
 border: 1px solid rgba(255, 255, 255, 0.15);
 background: rgba(7, 29, 42, 0.74);
 box-shadow: var(--shadow);
 backdrop-filter: blur(12px);
}

.hero-card-number {
 display: block;
 color: var(--teal);
 font-family: "Playfair Display", serif;
 font-size: 5.8rem;
 line-height: 0.8;
}

.hero-card-title {
 margin: 20px 0 18px;
 font-weight: 800;
 letter-spacing: 0.08em;
 text-transform: uppercase;
}

.hero-card ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

.hero-card li {
 position: relative;
 padding: 10px 0 10px 24px;
 border-top: 1px solid rgba(255, 255, 255, 0.11);
 color: rgba(255, 255, 255, 0.76);
 font-size: 0.9rem;
}

.hero-card li::before {
 position: absolute;
 left: 0;
 color: var(--teal);
 content: "✓";
}

.hero-bottom-line {
 position: absolute;
 right: 0;
 bottom: 0;
 left: calc(
   (100vw - min(1180px, calc(100vw - 40px))) / 2
 );
 z-index: 2;
 height: 5px;
 background:
   linear-gradient(
     90deg,
     var(--teal) 0 34%,
     rgba(255, 255, 255, 0.16) 34%
   );
}

/* SZOLGÁLTATÁSOK */

.services {
 background: var(--paper);
}

.split-heading {
 display: grid;
 grid-template-columns: 1.35fr 0.65fr;
 align-items: end;
 gap: 90px;
 margin-bottom: 58px;
}

h2 {
 margin: 0;
 color: var(--ink);
 font-size: clamp(2.8rem, 5vw, 4.7rem);
 line-height: 1.04;
}

h2 em {
 color: var(--teal-dark);
 font-style: normal;
}

.split-heading > p,
.process-header > p {
 margin: 0;
 color: var(--muted);
}

.service-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 border-top: 1px solid var(--line);
 border-left: 1px solid var(--line);
}

.service-card {
 z-index: 1;
 display: flex;
 min-height: 355px;
 flex-direction: column;
 padding: 34px;
 border-right: 1px solid var(--line);
 border-bottom: 1px solid var(--line);
 background: var(--white);
 transition:
   transform 0.25s ease,
   box-shadow 0.25s ease;
}

.service-card:hover {
 z-index: 2;
 box-shadow: var(--shadow);
 transform: translateY(-6px);
}

.service-card.featured {
 background: var(--navy);
 color: var(--white);
}

.service-top {
 display: flex;
 align-items: center;
 justify-content: space-between;
 color: var(--teal-dark);
 font-size: 0.8rem;
 font-weight: 800;
 letter-spacing: 0.12em;
}

.featured .service-top {
 color: var(--teal);
}

.service-icon {
 font-size: 1.6rem;
}

.service-card h3 {
 margin: 52px 0 14px;
 font-size: 1.35rem;
 line-height: 1.32;
}

.service-card p {
 margin: 0 0 26px;
 color: var(--muted);
 font-size: 0.93rem;
}

.featured p {
 color: rgba(255, 255, 255, 0.65);
}

.service-card a {
 margin-top: auto;
 font-size: 0.85rem;
 font-weight: 800;
 text-decoration: none;
}

.service-card a span {
 float: right;
 color: var(--teal-dark);
}

.featured a span {
 color: var(--teal);
}

/* MUNKAFOLYAMAT */

.process {
 background: var(--navy);
 color: var(--white);
}

.process h2 {
 color: var(--white);
}

.process-header {
 display: grid;
 grid-template-columns: 1.15fr 0.7fr;
 align-items: end;
 gap: 100px;
 margin-bottom: 70px;
}

.process-header > p {
 color: rgba(255, 255, 255, 0.62);
}

.steps {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.steps article {
 position: relative;
 padding: 42px 26px 10px 0;
}

.steps article:not(:last-child)::after {
 position: absolute;
 top: 0;
 right: 26px;
 width: 1px;
 height: 100%;
 background: rgba(255, 255, 255, 0.12);
 content: "";
}

.steps span {
 color: var(--teal);
 font-size: 0.78rem;
 font-weight: 800;
 letter-spacing: 0.14em;
}

.steps h3 {
 margin: 28px 0 12px;
 font-size: 1.15rem;
}

.steps p {
 margin: 0;
 color: rgba(255, 255, 255, 0.58);
 font-size: 0.9rem;
}

/* RÓLUNK */

.about {
 overflow: hidden;
 background: var(--ice);
}

.about-grid {
 display: grid;
 grid-template-columns: 0.78fr 1.22fr;
 align-items: center;
 gap: 100px;
}

.about-visual {
 position: relative;
 display: grid;
 min-height: 490px;
 place-items: center;
 overflow: hidden;
 background: var(--navy);
 box-shadow: var(--shadow);
}

.about-visual::before,
.about-visual::after {
 position: absolute;
 border: 1px solid rgba(52, 214, 196, 0.24);
 border-radius: 50%;
 content: "";
}

.about-visual::before {
 width: 420px;
 height: 420px;
}

.about-visual::after {
 width: 290px;
 height: 290px;
}

.about-monogram {
 position: relative;
 z-index: 2;
 color: var(--white);
 font-family: "Playfair Display", serif;
 font-size: 10rem;
 line-height: 1;
}

.about-monogram span {
 color: var(--teal);
 font-size: 2rem;
 vertical-align: top;
}

.spark {
 position: absolute;
 color: var(--teal);
}

.spark-one {
 top: 40px;
 right: 45px;
 font-size: 2rem;
}

.spark-two {
 bottom: 55px;
 left: 50px;
 font-size: 1rem;
}

.about-copy h2 {
 font-size: clamp(2.7rem, 4vw, 4.2rem);
}

.about-copy > p {
 color: var(--muted);
}

.value-list {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 12px 26px;
 margin-top: 32px;
 font-size: 0.88rem;
 font-weight: 800;
}

.value-list span::first-letter {
 color: var(--teal-dark);
}

/* AJÁNLATKÉRÉS */

.quote {
 background: var(--navy-2);
 color: var(--white);
}

.quote-grid {
 display: grid;
 grid-template-columns: 0.8fr 1.2fr;
 align-items: start;
 gap: 90px;
}

.quote h2 {
 color: var(--white);
 font-size: clamp(2.8rem, 4.5vw, 4.6rem);
}

.quote h2 em {
 color: var(--teal);
}

.quote-copy > p:not(.eyebrow) {
 color: rgba(255, 255, 255, 0.62);
}

.contact-placeholder {
 margin-top: 28px;
 padding-top: 20px;
 border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-placeholder span {
 display: block;
 color: var(--teal);
 font-size: 0.7rem;
 letter-spacing: 0.14em;
 text-transform: uppercase;
}

.contact-placeholder strong {
 display: block;
 margin-top: 5px;
 font-size: 0.95rem;
}

.contact-placeholder a {
 color: var(--white);
 text-decoration-color: rgba(52, 214, 196, 0.55);
 text-underline-offset: 4px;
}

.contact-placeholder a:hover {
 color: var(--teal);
}

.quote-form {
 padding: 42px;
 background: var(--white);
 box-shadow: var(--shadow);
 color: var(--ink);
}

.quote-form label {
 display: block;
 margin-bottom: 20px;
 font-size: 0.72rem;
 font-weight: 800;
 letter-spacing: 0.11em;
 text-transform: uppercase;
}

.form-row {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 18px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
 width: 100%;
 margin-top: 8px;
 padding: 12px 0;
 border: 0;
 border-bottom: 1px solid #cbd5d8;
 border-radius: 0;
 outline: none;
 background: transparent;
 color: var(--ink);
 letter-spacing: 0;
 text-transform: none;
}

.quote-form textarea {
 resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
 border-bottom-color: var(--teal-dark);
}

.quote-form .button {
 width: 100%;
 margin-top: 10px;
}

.form-note {
 margin: 12px 0 0;
 color: var(--muted);
 font-size: 0.72rem;
 text-align: center;
}

/* LÁBLÉC */

.site-footer {
 padding: 48px 0;
 background: #04141e;
 color: var(--white);
}

.footer-grid {
 display: grid;
 grid-template-columns: 1.2fr 1fr auto;
 align-items: center;
 gap: 70px;
}

.footer-brand {
 margin-bottom: 16px;
}

.site-footer p {
 margin: 0;
 color: rgba(255, 255, 255, 0.5);
 font-size: 0.83rem;
}

.site-footer nav {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 10px 24px;
}

.site-footer nav a {
 color: rgba(255, 255, 255, 0.68);
 font-size: 0.82rem;
 text-decoration: none;
}

.site-footer nav a:hover {
 color: var(--teal);
}

.copyright {
 text-align: right;
}

/* JAVASCRIPTES ÁLLAPOTOK */

.site-header.scrolled,
header.scrolled {
 box-shadow: 0 8px 30px rgba(7, 42, 54, 0.12);
}

/* Mobilmenü */

@media (max-width: 900px) {
 .main-nav.open,
 .nav-links.open,
 .site-header nav.open,
 header nav.open {
   display: flex;
 }

 body.menu-open {
   overflow: hidden;
 }
}

/* Görgetéses megjelenés */

.reveal {
 opacity: 0;
 transform: translateY(28px);
 transition:
   opacity 0.7s ease,
   transform 0.7s ease;
}

.reveal.visible {
 opacity: 1;
 transform: translateY(0);
}

/* Hibás űrlapmező */

.input-error {
 border-color: #c83b3b !important;
 box-shadow: 0 0 0 3px rgba(200, 59, 59, 0.1);
}

.form-message {
 margin: 18px 0 0;
 padding: 13px 15px;
 border-radius: 6px;
 font-size: 14px;
 font-weight: 600;
}

.form-message.error {
 color: #8c2020;
 background: #fff0f0;
 border: 1px solid #efc1c1;
}

.form-message.success {
 color: #0b665b;
 background: #e7f8f5;
 border: 1px solid #9edbd3;
}

/* Csökkentett mozgás */

@media (prefers-reduced-motion: reduce) {
 html {
   scroll-behavior: auto;
 }

 .reveal {
   opacity: 1;
   transform: none;
   transition: none;
 }
}

/* TABLET */

@media (max-width: 980px) {
 .section {
   padding: 88px 0;
 }

 .hero {
   min-height: 900px;
 }

 .hero-grid {
   grid-template-columns: 1fr;
   align-items: center;
   gap: 42px;
   padding-bottom: 70px;
 }

 .hero-card {
   max-width: 500px;
 }

 .split-heading,
 .process-header,
 .about-grid,
 .quote-grid {
   grid-template-columns: 1fr;
   gap: 48px;
 }

 .service-grid {
   grid-template-columns: repeat(2, 1fr);
 }

 .steps {
   grid-template-columns: repeat(2, 1fr);
 }

 .about-visual {
   min-height: 400px;
 }

 .footer-grid {
   grid-template-columns: 1fr 1fr;
 }

 .copyright {
   grid-column: 1 / -1;
   text-align: left;
 }
}

/* MOBIL */

@media (max-width: 760px) {
 .container {
   width: min(100% - 28px, 620px);
 }

 .site-header {
   position: absolute;
 }

 .nav-wrap {
   min-height: 74px;
 }

 .brand-name {
   font-size: 0.86rem;
 }

 .brand-mark {
   width: 38px;
   height: 38px;
 }

 .menu-button {
   display: grid;
   width: 42px;
   height: 42px;
   place-content: center;
   gap: 7px;
   cursor: pointer;
 }

 .menu-button span {
   display: block;
   width: 24px;
   height: 2px;
   background: var(--white);
 }

 .main-nav {
   position: absolute;
   top: 74px;
   right: 0;
   left: 0;
   display: none;
   flex-direction: column;
   align-items: stretch;
   gap: 18px;
   padding: 24px 20px;
   border-top: 1px solid rgba(255, 255, 255, 0.12);
   background: var(--navy);
 }

 .menu-toggle:checked ~ .main-nav {
   display: flex;
 }

 .main-nav .nav-cta {
   text-align: center;
 }

 .hero {
   min-height: 930px;
 }

 .hero-media {
   background-position: 62% center;
 }

 .hero-overlay {
   background:
     linear-gradient(
       90deg,
       rgba(4, 23, 34, 0.96),
       rgba(4, 23, 34, 0.76)
     );
 }

 .hero-grid {
   padding-top: 115px;
 }

 h1 {
   font-size: clamp(3.15rem, 15vw, 4.5rem);
 }

 .hero-lead {
   font-size: 1.25rem;
 }

 .hero-actions {
   align-items: flex-start;
   flex-direction: column;
 }

 .hero-card {
   padding: 28px;
 }

 .hero-card-number {
   font-size: 4.5rem;
 }

 .split-heading {
   margin-bottom: 38px;
 }

 h2 {
   font-size: 2.7rem;
 }

 .service-grid,
 .steps,
 .value-list,
 .form-row {
   grid-template-columns: 1fr;
 }

 .service-card {
   min-height: 310px;
 }

 .steps article {
   padding: 34px 0;
   border-bottom: 1px solid rgba(255, 255, 255, 0.12);
 }

 .steps article::after {
   display: none;
 }

 .about-grid {
   gap: 44px;
 }

 .about-visual {
   min-height: 350px;
 }

 .about-monogram {
   font-size: 8rem;
 }

 .quote-form {
   padding: 28px 22px;
 }

 .footer-grid {
   grid-template-columns: 1fr;
   gap: 34px;
 }

 .copyright {
   grid-column: auto;
 }
}

/* MOZGÁSCSÖKKENTÉS */

@media (prefers-reduced-motion: reduce) {
 html {
   scroll-behavior: auto;
 }

 *,
 *::before,
 *::after {
   transition: none !important;
 }
}