/* Eker Fiberelektronik GmbH — static site styles
   Faithful recreation of the original Wix layout: centered, minimal. */

:root {
  --ink: #1a1a1a;
  --bg: #ffffff;
  --grey-bg: #f3f2f0;
  --text: #555555;
  --line: #e4e2de;
  --maxw: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.2; }

/* ---- Header: centred logo only ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.site-header .brand {
  display: block;
  width: 64px;
  margin: 0 auto;
}
.site-header .brand img { width: 64px; height: 64px; }

/* ---- Who We Are ---- */
.intro {
  text-align: center;
  padding: 104px 24px 96px;
}
.intro h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin-bottom: 1.4rem;
}
.intro .subhead {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
}
.intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.06rem;
}

/* ---- Service images: full-bleed row of three ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.gallery img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ---- Service captions ---- */
.services {
  background: var(--grey-bg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 64px 24px;
  gap: 40px;
}
.services h2 {
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.services .tag {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

/* ---- Footer ---- */
.site-footer {
  text-align: center;
  padding: 84px 24px 70px;
}
.site-footer .company {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1.4rem;
}
.site-footer p { margin: .35rem 0; color: var(--text); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .footer-links {
  margin-top: 1.8rem;
}
.site-footer .footer-links a { text-decoration: underline; }
.site-footer .copyright {
  margin-top: 1.6rem;
  font-size: .82rem;
  color: #9a9a9a;
}

/* ---- Legal pages ---- */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 24px 90px;
}
.legal .back-link {
  display: inline-block;
  margin-bottom: 34px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #9a9a9a;
}
.legal .back-link:hover { color: var(--ink); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.04rem; margin-top: 1.8rem; color: #2b2b2b; }
.legal p { color: #3d3d3d; margin: .9rem 0; }
.legal ul { color: #3d3d3d; padding-left: 1.3rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--ink); }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 300px; }
  .services { grid-template-columns: 1fr; gap: 48px; padding: 56px 24px; }
  .intro { padding: 72px 24px 64px; }
  .site-footer { padding: 64px 24px 56px; }
}
