/* Metallbau van der Mond: Stylesheet */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-800.woff") format("woff"); }

:root {
  --primary: #255e68;
  --primary-dark: #1d4a52;
  --ink: #1c3a40;
  --text: #59636c;
  --muted: #6b767e;
  --bg: #f5f6f8;
  --line: #e3e7ea;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--primary); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.ic { width: 16px; height: 16px; flex: none; }

.container { width: min(100% - 48px, 1260px); margin-inline: auto; }
.narrow { width: min(100% - 48px, 740px); margin-inline: auto; }
main { padding-bottom: 96px; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 40px; height: 40px; border-radius: 8px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; font-size: 16px; color: #111c1f; letter-spacing: -0.01em; }
.brand-sub { font-size: 11px; color: #7a858c; margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; font-size: 14px; font-weight: 500; color: #4b5760; border-radius: 6px; }
.nav a:hover { color: var(--primary); }
.nav a.aktiv { color: var(--primary); }
.nav a.btn-sm { margin-left: 8px; height: 37px; padding: 0 16px; display: inline-flex; align-items: center; background: var(--primary); color: var(--white); font-weight: 600; }
.nav a.btn-sm:hover { background: var(--primary-dark); color: var(--white); }
.menu-btn { display: none; width: 40px; height: 40px; place-items: center; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; }
.menu-btn .ic { width: 20px; height: 20px; }

/* ---------- Schaltflächen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 47px; padding: 0 24px; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: var(--white); color: var(--primary); border-color: #dde2e6; font-weight: 500; }
.btn-outline:hover { background: var(--bg); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .9); height: 51px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-block { width: 100%; height: 45px; border-radius: 6px; }

/* ---------- Texte ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.lead { font-size: 18px; line-height: 1.625; color: var(--text); }

/* ---------- Startseite: Hero ---------- */
.hero { padding: 112px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 36%; gap: 64px; align-items: center; }
.hero-grid > div:first-child { max-width: 660px; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: 60px; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.hero h1 .accent { color: var(--primary); }
.hero .lead { margin-top: 24px; max-width: 660px; color: #59636c; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink); font-weight: 500; }
.checks .ic { color: var(--primary); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo { width: 100%; height: auto; border-radius: 16px; }

/* Kennzahlenband */
.stats { background: var(--primary); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 69px; align-items: center; }
.stats-grid span { padding-left: 28px; font-size: 14px; font-weight: 600; }

/* Inhaber */
.about { background: var(--bg); padding: 112px 0; }
.about-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: center; }
.avatar { width: 260px; height: 260px; border-radius: 50%; object-fit: cover; object-position: 50% 40%; border: 4px solid var(--white); box-shadow: 0 20px 40px -12px rgba(15, 40, 48, .3); background: var(--white); }
.about h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.about p { max-width: 650px; line-height: 1.7; }

/* Banner (Startseite) */
.cta-banner { background: var(--primary); color: var(--white); padding: 112px 0; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-banner h2 { color: var(--white); font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.cta-banner p { color: rgba(255, 255, 255, .85); max-width: 600px; line-height: 1.7; }
.cta-contacts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--white); }
.cta-contacts a { display: inline-flex; align-items: center; gap: 8px; }
.cta-contacts .ic { opacity: .75; }

/* ---------- Seitenkopf ---------- */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 96px 0; }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head h1 { font-size: 48px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 18px; }
.page-head.center .narrow { text-align: center; }
.page-head .lead { color: var(--text); }
.zeugnisse { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.zeugnis { margin: 0; width: 440px; max-width: 100%; aspect-ratio: 4 / 5; background: #eef0f2; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 30px -8px rgba(15, 40, 48, .25); }
.zeugnis img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Sektionen ---------- */
.section { padding: 96px 0; }
.section.gray { background: var(--bg); }
.vertrauen { padding: 112px 0; background: var(--bg); }
.vertrauen h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.vertrauen .lead { font-size: 16px; line-height: 1.7; max-width: 640px; }
.v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.v-card { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.v-num { width: 40px; flex: none; font-size: 20px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.v-card h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.v-card p { font-size: 13.5px; line-height: 1.6; }

.cta-card { width: min(100% - 48px, 680px); margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 48px; text-align: center; box-shadow: 0 4px 24px rgba(15, 40, 48, .06); }
.cta-card h2 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.cta-card p { max-width: 480px; margin: 0 auto 24px; font-size: 15px; line-height: 1.7; }

/* ---------- Leistungen ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: 0 1px 3px rgba(20, 40, 50, .05); }
.card-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--primary); color: var(--white); display: grid; place-items: center; }
.card-icon .ic { width: 20px; height: 20px; }
.card-no { display: block; margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: #52717a; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 4px 0 12px; }
.card p { font-size: 14px; line-height: 1.6; }

.band { background: var(--bg); padding: 80px 0; }
.band-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.band h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.band p { font-size: 15px; }
.band-teal { background: var(--primary); padding: 80px 0; }
.band-teal h2 { color: var(--white); }
.band-teal p { color: rgba(255, 255, 255, .85); max-width: 520px; }

/* ---------- Referenzen ---------- */
.gallery h2 { font-size: 28px; font-weight: 700; margin-bottom: 32px; }
.gallery-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 30px -10px rgba(15, 40, 48, .3); }
.progress { text-align: center; }
.progress .narrow { max-width: 640px; }
.progress h2 { margin-bottom: 14px; }
.progress p { font-size: 14px; line-height: 1.7; }
.progress .actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.progress .btn { height: 42px; font-size: 13px; padding: 0 20px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 40px; }
.form-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.req { font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 14px; font-weight: 500; color: var(--primary); margin-bottom: 8px; }
input, textarea { width: 100%; height: 46px; padding: 0 14px; font-family: inherit; font-size: 14px; color: var(--ink); background: var(--white); border: 1px solid #d9dee2; border-radius: 6px; }
textarea { height: 148px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8a949b; }
input:focus, textarea:focus { outline: 3px solid rgba(37, 94, 104, .25); border-color: var(--primary); }
.consent { margin-top: 18px; font-size: 12px; color: var(--muted); }
.pot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.meldung { display: none; padding: 14px 16px; border-radius: 6px; margin-bottom: 22px; font-size: 14px; font-weight: 500; }
.meldung.ok { background: #e7f3ec; color: #1e5b2f; border: 1px solid #b9dcc6; }
.meldung.fehler { background: #fdecea; color: #8a1f17; border: 1px solid #f3c1bd; }
.meldung.zeigen { display: block; }
.info-card { display: flex; align-items: flex-start; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px 20px; margin-bottom: 24px; }
.info-card:last-child { margin-bottom: 0; }
.info-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--primary); color: var(--white); display: grid; place-items: center; flex: none; }
.info-icon .ic { width: 18px; height: 18px; }
.info-card h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }
.info-card p, .info-card a { font-size: 14px; line-height: 1.5; color: var(--text); }

/* ---------- Rechtliches ---------- */
.prose { padding-top: 72px; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 52px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 30px 0 8px; }
.prose p, .prose li { font-size: 15px; line-height: 1.75; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose strong { color: var(--ink); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding: 56px 0; }
.footer-tag { margin-top: 17px; font-size: 14px; color: var(--muted); }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.footer-col p { font-size: 14px; line-height: 28px; color: var(--muted); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 12px; }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .hero-logo { max-width: 460px; }
  .about { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; justify-items: start; gap: 32px; }
  .about h2, .vertrauen h2, .cta-banner h2 { font-size: 30px; }
  .cta-banner { padding: 72px 0; }
  .cta-row, .band-row { flex-direction: column; align-items: flex-start; }
  .page-head { padding: 64px 0; }
  .page-head h1 { font-size: 38px; }
  .section { padding: 64px 0; }
  .vertrauen { padding: 72px 0; }
  .v-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .stats-grid { grid-template-columns: 1fr; padding: 16px 0; gap: 6px; }
  .stats-grid span { padding-left: 0; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.offen { display: flex; }
  .nav a { padding: 14px 4px; }
  .nav a.btn-sm { margin: 10px 0 0; justify-content: center; height: 44px; }
  .site-header .container { position: relative; }
  .gallery-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .row2 .field { margin-bottom: 22px; }
  .cta-card { padding: 36px 24px; }
}

.gallery-2 { padding-top: 0; }
.gallery-wide { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.gallery-wide img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .gallery-wide { grid-template-columns: 1fr; } }

.gallery-single { grid-template-columns: minmax(0, 480px); }
@media (max-width: 900px) { .gallery-single { grid-template-columns: 1fr; } }

.card-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.card-fotos figure { margin: 0; }
.card-fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.card-fotos figcaption { font-size: 12px; line-height: 1.4; color: var(--text, #59636c); margin-top: 6px; }

a.card-link { display: block; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.card-link:hover { border-color: var(--primary); box-shadow: 0 6px 18px -8px rgba(20, 40, 50, .25); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--primary); }
.card-more .ic { width: 16px; height: 16px; }
.gallery-row a { display: block; }
