/* ===== AMREX Armierungen GmbH – Farben aus dem Logo ===== */
:root {
  --black: #0b0b0c;
  --ink: #141416;
  --ink-2: #1c1c1f;
  --red: #d3141c;
  --red-dark: #a50f15;
  --gold: #d49a3a;
  --gold-light: #f0c06a;
  --silver: #c7cacf;
  --steel: #eef0f2;
  --text: #1a1a1d;
  --muted: #5d6068;
  --wa: #25d366;
  --radius: 6px;
  --logo-black: #030303;
  /* Diagonale Stahlstäbe wie im Logo */
  --rebar-stripe: repeating-linear-gradient(-60deg, var(--red) 0 18px, #2a2b2f 18px 22px, var(--silver) 22px 25px, #2a2b2f 25px 29px, var(--gold) 29px 31px, #2a2b2f 31px 36px);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); text-transform: uppercase; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .5px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.red { color: var(--red); }
.gold { background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, #a86e1d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: .95rem; color: var(--red); margin-bottom: .75em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--red); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 1.05rem; padding: 12px 22px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 22px; height: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 1.15rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px rgba(211, 20, 28, .7); }
.btn--red:hover { background: var(--red-dark); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px -8px rgba(37, 211, 102, .6); }
.btn--wa:hover { background: #1ebe5a; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--logo-black); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .3s; }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--rebar-stripe); opacity: 0; transition: opacity .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.header.is-scrolled::after { opacity: 1; }
.header__inner { display: flex; align-items: center; gap: 28px; height: 88px; }
.header__logo img { height: 76px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-family: var(--head); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; color: var(--silver); font-size: 1.05rem; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.nav__phone { display: none; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: clamp(640px, 100vh, 960px); min-height: clamp(640px, 100svh, 960px); display: flex; flex-direction: column; justify-content: center; color: #fff; background: var(--black); overflow: hidden; padding-top: 88px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 11, 12, .96) 0%, rgba(11, 11, 12, .82) 45%, rgba(11, 11, 12, .45) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { position: relative; padding: 50px 0 140px; }
.hero__text { min-width: 0; max-width: 640px; }
.hero .hero__brand { margin: 0 0 18px; max-width: none; }
.hero__slogan { display: block; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; line-height: 1.02; }
.hero__brand img { display: block; width: 100%; max-width: 400px; margin-bottom: 14px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .8)); animation: logoIn 1s .1s ease-out both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; max-width: 14ch; }
.hero .plus, .swiss { color: var(--red); }
.swiss { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--red); color: #fff; border-radius: 3px; font-size: 1.1rem; line-height: 1; }
.hero .eyebrow::before { display: none; }
.hero .eyebrow { color: var(--silver); }
.hero__lead { font-size: 1.2rem; max-width: 560px; color: #d4d6da; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(20, 20, 22, .9); }
.hero__bar::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: var(--rebar-stripe); }

/* ===== Stahl-Trennband zwischen Sektionen ===== */
.rebar-band { height: 10px; background: var(--rebar-stripe); }.hero__bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__bar-inner div { padding: 20px 18px; border-left: 1px solid rgba(255, 255, 255, .08); }
.hero__bar-inner div:first-child { border-left: 0; padding-left: 0; }
.hero__bar strong { display: block; font-family: var(--head); text-transform: uppercase; font-size: 1.35rem; letter-spacing: 1px; color: #fff; }
.hero__bar span { color: var(--silver); font-size: .95rem; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section--dark { background: var(--black); color: #e6e7ea; }
.section--dark h2 { color: #fff; }
.section--steel { background: var(--steel); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head p:last-child { color: var(--muted); font-size: 1.1rem; }

/* ===== Leistungen ===== */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service { background: #fff; border: 1px solid #e4e5e8; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .3); }
.service__img { aspect-ratio: 3 / 2; max-width: 100%; background-size: cover; background-position: center; position: relative; }
.service__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.service__body { padding: 28px 30px 30px; position: relative; }
.service__num { position: absolute; right: 24px; top: 14px; font-family: var(--head); font-weight: 800; font-size: 3.4rem; color: #eceef0; line-height: 1; }
.service h3 { position: relative; }
.service p { color: var(--muted); }
.service ul, .checks { list-style: none; padding: 0; margin: 0; }
.service li { padding: 5px 0 5px 26px; position: relative; font-weight: 500; }
.service li::before { content: "+"; position: absolute; left: 0; top: 2px; color: var(--red); font-weight: 800; font-size: 1.2rem; }

/* ===== Über uns ===== */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.about__media::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 3px solid var(--red); border-radius: var(--radius); z-index: 0; }
.about__media img { position: relative; z-index: 1; }
.about__badge { position: absolute; z-index: 2; right: -20px; bottom: -24px; background: var(--red); color: #fff; padding: 18px 24px; border-radius: var(--radius); font-family: var(--head); text-transform: uppercase; box-shadow: 0 16px 30px -10px rgba(211, 20, 28, .6); }
.about__badge strong { display: block; font-size: 1.6rem; line-height: 1; }
.about__badge span { letter-spacing: 1px; }
.about__text > p { color: #b9bcc2; }
.checks li { padding: 7px 0 7px 34px; position: relative; color: #e6e7ea; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.stats strong { display: block; font-family: var(--head); font-size: 2.8rem; font-weight: 800; line-height: 1; background: linear-gradient(180deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--silver); font-size: .95rem; }

/* ===== Galerie ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 1.2rem; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.gallery__item:hover img { transform: scale(1.07); }

/* ===== Ablauf ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; padding: 34px 28px; border-radius: var(--radius); position: relative; border-top: 4px solid var(--red); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -24px; width: 24px; height: 2px; background: var(--silver); }
.steps span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: var(--gold-light); font-family: var(--head); font-size: 1.6rem; font-weight: 800; margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; }

/* ===== CTA ===== */
.cta { position: relative; padding: 90px 0; color: #fff; overflow: hidden; background: var(--red); }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.4); }
.cta__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; font-size: 1.15rem; color: #ffe1e2; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn--wa { box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }

/* ===== Kontakt ===== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact__info > p { color: #b9bcc2; }
.contact__person { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 20px 22px; border-radius: var(--radius); background: linear-gradient(110deg, #1f1012 0%, var(--ink-2) 55%); border: 1px solid rgba(211, 20, 28, .35); border-left: 4px solid var(--red); }
.contact__avatar { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, #a86e1d); color: var(--black); font-family: var(--head); font-weight: 800; font-size: 1.5rem; letter-spacing: 1px; }
.contact__person small { display: block; color: var(--silver); text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; }
.contact__person strong { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: .5px; }
.contact__person span:not(.contact__avatar) { color: #ff4d55; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; }
.contact__list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.contact__list a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--radius); color: #fff; font-weight: 600; font-size: 1.1rem; transition: border-color .2s, transform .2s; word-break: break-word; }
.contact__list a:hover { border-color: var(--red); transform: translateX(4px); }
.contact__list small { display: block; color: var(--silver); font-weight: 400; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); }
.ico svg { width: 22px; height: 22px; color: #fff; }
.ico--wa { background: var(--wa); }

.form { background: var(--ink); border: 1px solid rgba(255, 255, 255, .07); border-top: 4px solid var(--red); padding: 36px; border-radius: var(--radius); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--silver); font-family: var(--head); font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 1rem; color: #fff; background: var(--black); border: 1px solid #2c2d31; border-radius: var(--radius); padding: 13px 14px; width: 100%; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { resize: vertical; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form__error { color: #ff7b80; margin: 0; }
.is-invalid { border-color: var(--red) !important; }

/* ===== Footer ===== */
.footer { background: var(--logo-black); color: var(--silver); padding: 60px 0 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; }
.footer__brand img { height: 80px; width: auto; }
.footer__brand p { margin: 8px 0 0; font-family: var(--head); text-transform: uppercase; letter-spacing: 3px; font-size: .9rem; }
.footer__nav, .footer__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__contact { flex-direction: column; gap: 6px; text-align: right; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .9rem; color: #7c7f86; }

/* ===== WhatsApp Float ===== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .45); animation: waPulse 2.6s infinite; }
.wa-float svg { width: 34px; height: 34px; }
.wa-float__tip { position: absolute; right: 74px; background: #fff; color: var(--text); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 20px; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 10px 30px -6px rgba(0, 0, 0, .45); } 50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 30px -6px rgba(0, 0, 0, .45); } }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: var(--radius); }
.lightbox p { color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; margin-top: 14px; text-align: center; }
.lightbox__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__bg, .wa-float, .hero__brand img { animation: none; } html { scroll-behavior: auto; } }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header__cta { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .about, .contact { gap: 50px; }
}
@media (max-width: 860px) {
  .burger { display: block; margin-left: auto; }
  .nav { position: fixed; top: 88px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--black); padding: 10px 16px 24px; border-bottom: 3px solid var(--red); transform: translateY(-120%); transition: transform .35s; z-index: -1; }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 1.25rem; }
  .nav a::after { display: none; }
  .nav__phone { display: block; color: var(--gold-light) !important; border-bottom: 0 !important; }
  .burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero__bar-inner { grid-template-columns: repeat(2, 1fr); }
  .hero__bar-inner div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__bar-inner div { padding: 14px 12px; }
  .hero__content { padding-bottom: 190px; }
  .services, .about, .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .about__badge { right: 10px; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header__inner { height: 76px; }
  .header__logo img { height: 64px; }
  .nav { top: 76px; }
  .hero { padding-top: 76px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__actions .btn { padding: 14px 10px; font-size: 1.05rem; letter-spacing: .5px; white-space: normal; text-align: center; min-width: 0; }
  .cta__actions .btn, .form__actions .btn { width: 100%; }
  .hero__bar strong { font-size: 1.1rem; }
  .hero__bar span { font-size: .82rem; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery__item--wide { grid-column: auto; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .service__body { padding: 24px 20px; }
  .stats strong { font-size: 2.2rem; }
  .footer__contact { text-align: left; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
