/* KBB GmbH Ebersberg – static page, no external resources */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --text: #333333;
  --muted: #666666;
  --accent: #333333;
  --line: #e5e5e5;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #6b5a43 url("../img/background.jpg") center center / cover no-repeat fixed;
}

/* iOS ignores background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
  body { background-attachment: scroll; }
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.card {
  width: 100%;
  max-width: 640px;
  padding: 48px 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.hero { margin: 0 0 28px; }
.hero img { max-width: 260px; width: 100%; height: auto; }

.intro h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}
.intro p {
  margin: 0 auto;
  max-width: 32em;
  color: var(--muted);
}

.contact {
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 700;
}
.contact p { margin: 0 0 6px; }
.contact address { font-style: normal; }

a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus-visible { opacity: .75; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

@media (max-width: 480px) {
  .card { padding: 32px 20px; }
}
