:root {
  --beige: #eee9da;
  --beige-dark: #ddd5bd;
  --text: #4a4a4a;
  --heading: #2f2f2f;
  --muted: #777;
  --accent: #3f7f7c;
  --white: #ffffff;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--heading); line-height: 1.25; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar { background: var(--beige); border-bottom: 1px solid var(--beige-dark); text-align: center; padding: 8px 0; }
.topbar a { display: inline-block; margin: 0 8px; color: var(--accent); }
.topbar svg { width: 18px; height: 18px; vertical-align: middle; fill: currentColor; }

/* Header */
.site-header { background: var(--beige); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 var(--beige-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 16px; }
.site-header .logo img { height: 74px; width: auto; }
.site-header nav a { color: var(--heading); text-decoration: none; font-size: 14px; margin-left: 26px; letter-spacing: .3px; }
.site-header nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 56px 0 48px; background: var(--beige); }
.hero .wrap { max-width: 860px; text-align: center; }
.hero h1 { font-size: 30px; margin: 0 0 6px; }
.hero .sub { font-size: 21px; font-weight: 600; margin: 0 0 22px; color: var(--heading); }
.hero .claim { font-size: 19px; font-weight: 700; color: var(--heading); }
.btn { display: inline-block; background: var(--accent); color: var(--white); padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.btn:hover { opacity: .9; }
.btn.light { background: transparent; color: var(--accent); border: 2px solid var(--accent); }

/* Sections */
section { padding: 48px 0; }
.section-title { text-align: center; font-size: 28px; margin: 0 0 8px; }
.section-intro { text-align: center; max-width: 680px; margin: 0 auto 36px; color: var(--muted); }
.alt { background: #faf8f2; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.07); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .illu { aspect-ratio: 4 / 3; background: var(--beige); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.card .illu svg { width: 72%; height: auto; }
.card .body { padding: 18px 20px 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; font-size: 15px; }

/* Service */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.services .svc-icon { width: 72px; height: 72px; display: block; margin: 0 auto 14px; color: var(--accent); background: var(--beige); border-radius: 50%; padding: 12px; }
.services h3 { font-size: 18px; margin: 0 0 6px; }
.services p { margin: 0; }

/* About */
.about { max-width: 820px; margin: 0 auto; }
.about p { margin: 0 0 14px; }

/* Contact */
.contact-box { background: var(--beige); border-radius: 12px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.contact-box h2 { margin-top: 0; }
.contact-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.contact-box dt { font-weight: 700; color: var(--heading); }
.contact-box dd { margin: 0; }

/* Footer */
footer { background: var(--beige); text-align: center; padding: 28px 20px; font-size: 14px; color: var(--muted); margin-top: 48px; }
footer a { color: var(--heading); margin: 0 10px; text-decoration: none; }
footer a:hover { color: var(--accent); }
footer p { margin: 10px 0 0; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 24px; }
.legal h1 { font-size: 28px; }
.legal h2 { font-size: 19px; margin-top: 28px; }
.legal + footer { margin-top: 0; }

/* Responsive */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .site-header nav a { margin-left: 16px; }
}
@media (max-width: 760px) {
  .contact-box { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .site-header .wrap { flex-direction: column; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .site-header { position: static; }
  .site-header nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
  .site-header nav a { margin: 0; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .contact-box { padding: 24px; }
  .contact-box dl { grid-template-columns: 1fr; gap: 0; }
  .contact-box dd { margin-bottom: 10px; }
}

/* Unterseiten */
.page-head { background: var(--beige); padding: 36px 0 28px; }
.page-head h1 { margin: 4px 0 0; font-size: 32px; }
.crumb { margin: 0; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
.page-body { padding: 40px 0 16px; }
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.detail .text h2 { margin-top: 24px; }
.detail .text h3 { margin: 24px 0 6px; }
.page-hero { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.specs { background: var(--beige); border-radius: 12px; padding: 24px; position: sticky; top: 112px; }
.specs h2 { font-size: 18px; margin: 0 0 10px; }
.specs ul { margin: 0 0 14px; padding-left: 18px; }
.specs .note { font-size: 14px; color: var(--muted); }
.lead { font-size: 18px; font-weight: 600; color: var(--heading); }
.gallery-title { font-size: 22px; margin: 40px 0 16px; scroll-margin-top: 110px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 6px; }
.lb-close { position: absolute; top: 12px; right: 18px; font-size: 36px; color: #fff; background: none; border: 0; cursor: pointer; }
.eq-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-bottom: 32px; }
.page-illu { border-radius: 10px; aspect-ratio: 4 / 3; background: var(--beige); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.page-illu svg { width: 70%; }
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.item { background: var(--white); border-radius: 10px; box-shadow: 0 2px 14px rgba(0,0,0,.07); padding: 22px 24px; }
.item h3 { margin: 0 0 8px; font-size: 19px; }
.item p { margin: 0 0 8px; }
.item ul { margin: 0 0 8px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.item .price { font-weight: 700; color: var(--accent); margin: 10px 0 0; }
.portrait { width: 100%; border-radius: 10px; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 24px; }
.member { margin: 0; text-align: center; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.member figcaption { margin-top: 8px; display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.member strong { color: var(--heading); font-size: 16px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { background: var(--beige); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--heading); font-size: 14px; }
.card a.more { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; }
.card .stretch { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .detail, .eq-intro, .items { grid-template-columns: 1fr; }
  .specs { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
.card .more { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--accent); }
.card:hover { box-shadow: 0 4px 22px rgba(0,0,0,.12); }
