/* Arua Tiefbau GmbH – arua-tiefbau.com */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue: #2ea3f2;
  --cyan: #00ccff;
  --cyan-dark: #00a3f5;
  --sky: #5cc5ef;
  --counter: #5cf1ff;
  --orange: #f69100;
  --dark: #1e1e1e;
  --dark-2: #222222;
  --text: #666666;
  --heading: #333333;
  --light: #f5f8fa;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .10);
  --font-head: "Manrope", Helvetica, Arial, sans-serif;
  --font-body: "Poppins", Helvetica, Arial, sans-serif;
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan-dark); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--white); color: var(--heading); padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.c-cyan { color: var(--cyan); }
.c-white { color: var(--white); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--blue); color: var(--white); font-size: 13px; line-height: 1; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 16px; }
.topbar a { color: var(--white); display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.topbar a:hover { color: #e8f6ff; }
.topbar svg { width: 15px; height: 15px; flex: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .10); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 54px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; font-weight: 600; font-size: 15px; color: rgba(0, 0, 0, .65); border-radius: var(--radius); }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--blue); }
.nav-toggle svg { width: 30px; height: 30px; display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 17px; padding: 12px 28px; border-radius: 3px; border: 2px solid currentColor; background: transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn-cyan { color: var(--cyan-dark); border-color: var(--cyan-dark); }
.btn-cyan:hover { background: var(--cyan-dark); color: var(--white); }
.btn-orange { color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: var(--orange); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: 90px 0; }
.section-dark { background: var(--dark) url("../img/topo.svg") center / cover no-repeat; color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-blueprint { background-color: #fff; background-image:
    linear-gradient(rgba(46, 163, 242, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 163, 242, .06) 1px, transparent 1px),
    linear-gradient(rgba(46, 163, 242, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 163, 242, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.section-light { background: var(--light); }
.divider { position: absolute; left: 0; width: 100%; height: 90px; display: block; pointer-events: none; z-index: 1; }
.divider-bottom { bottom: -1px; }
.divider-top { top: -1px; }
.section > .container { position: relative; z-index: 2; }

.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: .02em; margin-bottom: 18px; }
.eyebrow-line { padding-bottom: 12px; position: relative; }
.eyebrow-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100px; height: 2px; background: var(--orange); }
.eyebrow-box, .section-dark .eyebrow-box { background: var(--white); color: var(--cyan); padding: 6px 16px; text-transform: uppercase; }
.eyebrow-label { color: var(--cyan-dark); text-transform: uppercase; font-size: 18px; letter-spacing: .08em; }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 60px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 150px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 58px); color: var(--cyan); margin-bottom: 10px; }
.hero h2 { font-family: var(--font-body); font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; color: var(--white); margin-bottom: 22px; }
.hero p { font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, .92); max-width: 560px; }
.hero .eyebrow { font-size: clamp(22px, 2.4vw, 28px); color: var(--white); }

.frame { position: relative; max-width: 520px; margin-left: auto; }
.frame::before, .frame::after { content: ""; position: absolute; background: var(--sky); z-index: 0; }
.frame img { position: relative; z-index: 1; width: 100%; object-fit: cover; }
.frame-skew::before { left: -4%; top: 2%; width: 70%; height: 22%; clip-path: polygon(0 20%, 100% 0, 60% 100%, 0 100%); }
.frame-skew::after { right: -3%; bottom: 4%; width: 40%; height: 28%; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.frame-skew img { aspect-ratio: 4 / 5; clip-path: polygon(0 10%, 88% 0, 100% 6%, 100% 86%, 62% 100%, 0 92%); }
.frame-band { max-width: 560px; }
.frame-band::before { left: 0; right: 0; top: -14px; height: 40px; }
.frame-band::after { left: -2%; right: -2%; bottom: 6%; height: 60px; transform: skewY(-9deg); transform-origin: right; }
.frame-band img { aspect-ratio: 960 / 760; clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%); }

/* ---------- Expertise ---------- */
.expertise .grid-3 { align-items: stretch; }
.expertise-intro { display: flex; flex-direction: column; justify-content: center; }
.expertise-intro h2 { font-size: clamp(32px, 3.6vw, 44px); color: var(--cyan); margin: 0; }
.expertise-intro h2 + h2 { margin-bottom: 18px; }
.expertise-intro p { font-size: 17px; color: var(--heading); }
.expertise-intro .btn { align-self: flex-start; margin-top: 12px; }
.card-photo { display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.card-photo img { aspect-ratio: 52 / 62; object-fit: cover; width: 100%; transition: transform .6s; }
.card-photo:hover img { transform: scale(1.04); }
.card-photo .card-body { background: var(--sky); color: var(--white); text-align: center; padding: 22px 22px 26px; flex: 1; position: relative; z-index: 1; }
.card-photo h3 { color: var(--white); font-size: 25px; margin-bottom: 8px; }
.card-photo p { margin: 0; font-weight: 600; line-height: 1.5; }

/* ---------- About + counters ---------- */
.about { padding: 150px 0 140px; }
.about-text { text-align: right; }
.about-text h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 0; }
.about-text h2.c-cyan { color: var(--cyan); }
.about-text p { margin-top: 20px; color: var(--white); font-size: 16.5px; }
.counters { margin-top: 80px; text-align: center; }
.counter strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1.1; color: var(--counter); font-variant-numeric: tabular-nums; }
.counter span { display: block; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--white); margin-top: 8px; }

/* ---------- Process ---------- */
.process-intro { max-width: 900px; margin: 0 auto 50px; text-align: center; font-size: 16.5px; }
.process .grid-3 { gap: 34px; }
.step { background: var(--white); text-align: center; padding: 40px 30px 34px; box-shadow: var(--shadow); border-bottom: 4px solid var(--orange); border-radius: 4px; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.step .icon { width: 82px; height: 82px; margin: 0 auto 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--counter), var(--sky)); border-radius: 4px; }
.step .icon svg { width: 44px; height: 44px; stroke: var(--white); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { color: var(--cyan-dark); font-size: 25px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; }

/* ---------- Parallax CTA ---------- */
.cta { padding: 150px 0; text-align: center; background: var(--dark) url("../img/bg-radlader.jpg?v=2") center / cover no-repeat fixed; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(30, 30, 30, .85); }
.cta h3 { color: var(--cyan); font-size: clamp(20px, 2.4vw, 25px); }
.cta h2 { color: var(--white); font-size: clamp(34px, 5vw, 60px); margin: 0; }

/* ---------- Services ---------- */
.services .section-head h2 { color: var(--heading); }
.service { text-align: center; }
.service figure { margin: 0 0 22px; overflow: hidden; border-radius: 4px; box-shadow: var(--shadow); }
.service img { aspect-ratio: 10 / 7; object-fit: cover; width: 100%; transition: transform .6s; }
.service:hover img { transform: scale(1.05); }
.service h3 { color: var(--cyan-dark); font-size: 25px; margin-bottom: 6px; }
.service p { margin: 0; }
.services .grid-3 + .grid-3 { margin-top: 50px; }

/* ---------- Contact ---------- */
.contact { background: var(--dark) url("../img/bg-kontakt.jpg?v=2") center / cover no-repeat; color: var(--white); }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .72); }
.contact .section-title { text-align: center; color: var(--white); font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 50px; }
.contact .grid-2 { align-items: stretch; }
.contact-image { position: relative; border: 8px solid var(--white); overflow: hidden; min-height: 360px; }
.contact-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact h3 { color: var(--white); font-size: 25px; }
.contact h2.c-cyan { color: var(--cyan); font-size: clamp(28px, 3.2vw, 38px); margin: 0; }
.contact h2.c-cyan + h2.c-cyan { margin-bottom: 26px; }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; margin: 10px 0 22px; }
.contact-mail svg { width: 20px; height: 20px; color: var(--cyan); }
.contact-mail:hover { color: var(--cyan); }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 15px; color: #000; background: var(--white); border: 2px solid var(--white); border-radius: 5px; padding: 14px 16px; transition: border-color .2s; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }
.contact-form [aria-invalid="true"] { border-color: #e5484d; }
.contact-form .form-note { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .75); margin: 0; }
.contact-form .form-note a { color: var(--cyan); }
.contact-form .actions { display: flex; justify-content: flex-end; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-weight: 600; border-radius: 5px; padding: 0; }
.form-status:not(:empty) { padding: 12px 16px; }
.form-status.ok { background: rgba(46, 204, 113, .18); border: 1px solid rgba(46, 204, 113, .6); color: #d9ffe9; }
.form-status.err { background: rgba(229, 72, 77, .18); border: 1px solid rgba(229, 72, 77, .6); color: #ffe1e2; }

/* ---------- Karriere ---------- */
.page-hero { padding: 90px 0 140px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); text-align: center; }
.page-hero h1.c-cyan { color: var(--cyan); }
.page-hero .frame-photo { border: 8px solid var(--white); box-shadow: var(--shadow); }
.page-hero .frame-photo img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.jobs .section-head p { font-weight: 600; color: var(--heading); font-size: 17px; }
.job-card { display: block; max-width: 420px; margin: 0 auto; background: var(--white); text-align: center; padding: 40px 30px 34px; box-shadow: var(--shadow); border-bottom: 4px solid var(--orange); border-radius: 4px; color: var(--text); transition: transform .25s, box-shadow .25s; }
.job-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); color: var(--text); }
.job-card .icon { width: 82px; height: 82px; margin: 0 auto 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--counter), var(--sky)); border-radius: 4px; }
.job-card .icon svg { width: 44px; height: 44px; stroke: var(--white); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.job-card h3 { color: var(--cyan-dark); font-size: 25px; margin-bottom: 6px; }
.job-card p { margin: 0 0 16px; }
.job-card .more { font-weight: 700; color: var(--orange); }

/* ---------- Job detail + legal pages ---------- */
.page-title { padding: 80px 0 120px; text-align: center; }
.page-title h1 { font-size: clamp(34px, 5vw, 56px); margin: 0; }
.page-title p { color: rgba(255, 255, 255, .85); margin: 10px 0 0; }
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 28px; color: var(--heading); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 22px; color: var(--cyan-dark); margin: 1.5em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose li { margin-bottom: .55em; }
.prose strong { color: var(--heading); }
.prose a { word-break: break-word; }
.job-block { background: var(--white); box-shadow: var(--shadow); border-radius: 4px; border-top: 4px solid var(--sky); padding: 34px 38px 22px; margin-bottom: 30px; }
.job-block h2 { font-size: 25px; color: var(--cyan-dark); margin: 0 0 18px; }
.job-block ul { padding-left: 0; list-style: none; }
.job-block li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.job-block li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.address { font-style: normal; }
.address + ul { margin-top: 12px; }
.page-404 { padding-bottom: 160px; }
.page-404-action { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-2); color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.site-footer h2 { font-size: 18px; color: var(--white); margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--cyan); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; }
.footer-bottom { background: rgba(0, 0, 0, .32); padding: 16px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cta { background-attachment: scroll; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .cta { background-attachment: scroll; }
  .expertise .grid-3 { grid-template-columns: 1fr 1fr; }
  .expertise-intro { grid-column: 1 / -1; text-align: center; align-items: center; }
  .expertise-intro .btn { align-self: center; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 14px 24px rgba(0, 0, 0, .12); border-top: 3px solid var(--blue); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid rgba(0, 0, 0, .06); border-radius: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { gap: 50px; }
  .section { padding: 70px 0; }
  .hero { padding: 60px 0 120px; }
  .frame { margin: 0 auto; }
  .about { padding: 120px 0 110px; }
  .about-text { text-align: left; }
  .counters { margin-top: 60px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .contact-image { min-height: 0; aspect-ratio: 6 / 5; }
  .divider { height: 50px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .expertise .grid-3 { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .actions { justify-content: stretch; }
  .contact-form .actions .btn { width: 100%; }
  .job-block { padding: 26px 22px 12px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .counter span { font-size: 16px; }
  .topbar .container { justify-content: center; }
}
