/* ---------- Fonts (self-hosted, no Google requests) ---------- */
@font-face { font-family: "Anton"; src: url("assets/fonts/anton.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0E0E0F;
  --surface: #17171A;
  --line: #2A2A2F;
  --line-2: #3A3A3F;
  --text: #F4F4F2;
  --text-2: #C9C9C3;
  --muted: #B9B9B3;
  --dim: #8E8E88;
  --yellow: #F5B700;
  --yellow-hi: #FFD24D;
  --radius: 14px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--yellow); }
a:hover { color: var(--yellow-hi); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--display); font-weight: 400; font-style: italic; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1; }
.y { color: var(--yellow); }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--dim); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--lg { width: 26px; height: 26px; }
.ico--y { stroke: var(--yellow); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: 12px; font: 700 17px/1 Inter, sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: var(--bg); }
.btn--primary:hover { background: var(--yellow-hi); color: var(--bg); }
.btn--ghost { border-color: var(--text); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; gap: 10px; }
.show-sm { display: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(14,14,15,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #26262A; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__mark { white-space: nowrap; font-family: var(--display); font-style: italic; font-size: 30px; color: var(--text); letter-spacing: .5px; }
.logo__mark b { font-weight: 400; color: var(--yellow); }
.logo__sub { font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); margin-top: 5px; }
.nav__links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.nav__links a { color: #D6D6D0; text-decoration: none; }
.nav__links a:hover { color: var(--yellow); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; }
.lang button { min-width: 44px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: #D6D6D0; font: 700 14px/1 Inter, sans-serif; letter-spacing: .5px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--bg); }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 64px; }
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: #D6D6D0; }
.pill .ico { width: 16px; height: 16px; }
h1.display { font-size: clamp(46px, 6.6vw, 82px); line-height: .98; }
.lead { font-size: 19px; color: var(--text-2); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 10px; }
.hero__media { flex: 1 1 480px; min-width: 0; margin: 0; position: relative; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid #2E2E33; }
.badge { position: absolute; left: -12px; bottom: -20px; background: var(--yellow); color: var(--bg); padding: 14px 20px; border-radius: 14px; font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1.1; text-transform: uppercase; }

/* ---------- Strip ---------- */
.strip { background: var(--yellow); color: var(--bg); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 16px; padding-top: 22px; padding-bottom: 22px; font-size: 25px; }

/* ---------- Sections ---------- */
.section { padding-top: 88px; padding-bottom: 24px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.h2 { font-size: clamp(38px, 4.5vw, 52px); margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
/* Photo grid: job-2 wide, job-4 (portrait) tall, job-1/job-3 small */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 22vw, 290px); grid-auto-flow: dense; gap: 20px; }
.gallery__item { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; background: linear-gradient(transparent, rgba(14,14,15,.88)); color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.35; }
.req { color: var(--yellow); margin-left: 3px; }
.form .form__req { margin: 0; }
.form__req .req { margin-left: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s; }
.card:hover { border-color: #5a4a12; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: #2A2410; display: grid; place-items: center; }
.card h3 { font-size: 20px; }
.card p, .steps p { font-size: 15px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--yellow); padding-top: 22px; }
.steps__n { font-size: 54px; color: var(--yellow); }
.steps h3 { font-size: 21px; }

/* ---------- Form panel ---------- */
#anfrage { padding-bottom: 96px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 48px; }
.panel__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.panel__intro .h2 { margin-bottom: 0; }
.bigphone { font-size: 24px; font-weight: 700; text-decoration: none; align-self: flex-start; padding: 6px 0; }
.form { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #D6D6D0; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 15px/1.4 Inter, sans-serif; min-height: 48px; padding: 12px 14px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgba(245,183,0,.25); }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.form .check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--yellow); flex: none; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form__status { min-height: 1.4em; font-weight: 600; }
.form__status.ok { color: #7BD88F; }
.form__status.err { color: #FF8A7A; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #26262A; padding: 32px 0 28px; color: var(--dim); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 12px; }
.footer .logo__mark { font-size: 24px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--muted); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(180px, 34vw, 280px); }
}
@media (max-width: 640px) {
  .logo__sub, .hide-sm { display: none; }
  .show-sm { display: inline; }
  .logo__mark { font-size: 24px; }
  .nav__actions { gap: 8px; }
  .nav__actions .btn--sm { padding: 0 14px; }
  .hero { padding-top: 40px; gap: 44px; }
  .hero .cta { display: none; }
  .badge { left: 12px; font-size: 18px; }
  .strip__inner { justify-content: center; font-size: 21px; }
  .section { padding-top: 64px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .gallery__item--wide { grid-column: auto; }
  .gallery__item--tall { grid-row: auto; }
  .gallery__item img { aspect-ratio: 4 / 3; }
  .gallery__item--tall img { aspect-ratio: 4 / 5; }
  body { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  /* The extra 56px strip under the buttons is where Netlify's "Powered by" badge sits */
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(68px + env(safe-area-inset-bottom)); background: rgba(14,14,15,.96); border-top: 1px solid var(--line); }
  .callbar .btn { padding: 0 8px; gap: 8px; font-size: 16px; }
}
/* Narrow phones: tighten the header so logo, DE/EN switch and call button fit */
@media (max-width: 380px) {
  .nav__inner { gap: 10px; }
  .lang button { min-width: 38px; padding: 0 8px; }
  .nav__actions .btn--sm { padding: 0 10px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
