/* Seven Hills Offices – Designsystem */
:root {
  --c-primary: #F9F8F6; /* Hintergrund hell */
  --c-2: #EFE9E3;
  --c-3: #D9CFC7;
  --c-4: #C9B59C; /* Akzent */
  --text: #111111; /* Schwarz nah, bessere Lesbarkeit */
  --muted: #4a4a4a;
  --shadow: 0 2px 10px rgba(0,0,0,.06);
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--c-primary);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; background: #fff; padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(249,248,246,.8); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
.brand img { width: 40px; height: 40px; }
.brand.small img { width: 28px; height: 28px; }
.nav { display: flex; gap: 16px; flex-wrap: wrap; }
.nav a { padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--c-2); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--c-primary), var(--c-2)); border-bottom: 1px solid var(--c-3); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: 48px 0; align-items: center; }
.hero h1 { margin: 0 0 10px; line-height: 1.15; font-size: clamp(28px, 4vw, 44px); }
.hero p { margin: 0 0 12px; color: var(--muted); }
.cta-row { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-block; background: var(--c-4); color: #000; padding: 12px 18px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.badge { background: var(--c-3); color: #000; padding: 8px 10px; border-radius: 999px; font-weight: 600; }
.hero-media { min-height: 260px; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--c-2); }
.section h2 { font-size: clamp(22px, 3.2vw, 32px); margin: 0 0 12px; }

.grid-2 { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: start; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }

.cards .card { background: #fff; border: 1px solid var(--c-3); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.cards h3 { margin-top: 4px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding-left: 18px; }
.features li { margin: 2px 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }

/* Placeholder blocks */
.placeholder { position: relative; background: repeating-linear-gradient(45deg, var(--c-3), var(--c-3) 12px, var(--c-2) 12px, var(--c-2) 24px); border: 2px dashed #b9aa95; border-radius: var(--radius); display: grid; place-items: center; color: #000; text-align: center; padding: 16px; }
.placeholder span { background: rgba(255,255,255,.75); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--c-3); font-size: 14px; }

.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* Bild-Helferklassen für einfache Einbindung */
.media-fit { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
.bg-cover { background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: var(--radius); }

/* CTA section */
.cta { text-align: center; }

/* Footer */
.site-footer { background: var(--c-2); border-top: 1px solid var(--c-3); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { padding: 6px 8px; border-radius: 8px; }
.footer-nav a:hover { background: var(--c-3); }

/* Einfaches Lightbox-Overlay (optional, wird nur genutzt wenn verwendet) */
.lightbox-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.86); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 4vw; }
.lightbox-backdrop.open { display: flex; }
.lightbox-image { max-width: 92vw; max-height: 92vh; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.lightbox-close { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.9); border: 1px solid var(--c-3); color: #000; border-radius: 999px; padding: 8px 12px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); }
.lightbox-backdrop:focus { outline: none; }

/* Responsiv */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
