/* Schlüsselzentrum Schöndorfer — Website
   Nachbau der bestehenden Seite (schluesselzentrum-schoendorfer.at) als statisches HTML/CSS */

:root {
  --bg: #f9f9f9;
  --text: #111111;
  --muted: #555555;
  --line: #d9d9d9;
  --max-width: 1180px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Cardo", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.8px;
  line-height: 1.7;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 32px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.site-header .site-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.site-header a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hero image */
.hero {
  text-align: center;
  padding: 0 24px 40px;
}

.hero img {
  max-width: 640px;
  width: 100%;
  height: auto;
}

/* Intro */
.intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 40px;
  text-align: center;
}

.intro p {
  margin: 0 0 20px;
}

.intro p.strong {
  font-weight: 700;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Opening hours */
.hours {
  text-align: center;
  padding: 40px 24px;
}

.hours h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 20px;
}

.hours .day {
  font-weight: 700;
  margin-top: 16px;
}

.hours .day:first-of-type {
  margin-top: 0;
}

.hours p {
  margin: 4px 0;
}

/* Services grid */
.services {
  padding: 48px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service .icon {
  color: #999;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 14px;
}

.service h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.service p {
  margin: 0;
  color: var(--text);
}

/* Partners */
.partners {
  padding: 48px 24px 56px;
  text-align: center;
}

.partners h3 {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 1.85rem;
  margin: 0 0 48px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: center;
  justify-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.partners-grid img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px 32px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-company {
  display: flex;
  gap: 16px;
}

.footer-company img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-company h4 {
  margin: 6px 0 12px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-company p {
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.footer-links {
  text-align: right;
}

.footer-links h4 {
  margin: 6px 0 12px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-links a {
  display: block;
  text-decoration: none;
  margin: 8px 0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Simple content pages (Impressum / Datenschutz) */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 36px;
}

.legal a.back {
  display: inline-block;
  margin-bottom: 32px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal a.back:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 780px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .site-header a {
    flex-direction: column;
  }

  .footer-company {
    flex-direction: column;
    text-align: center;
  }

  .footer-company img {
    margin: 0 auto;
  }
}
