:root {
  --ink: #16221b;
  --muted: #56645c;
  --bg: #f5f2ea;
  --paper: #ffffff;
  --cream: #fbf7ef;
  --green: #0f4a32;
  --green-dark: #0a3324;
  --red: #b83226;
  --red-dark: #842017;
  --yellow: #e3b83b;
  --line: rgba(22, 34, 27, .14);
  --shadow: 0 18px 48px rgba(19, 43, 30, .14);
  --radius: 18px;
  --radius-lg: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, .98rem + .15vw, 1.08rem);
  line-height: 1.58;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: Merriweather, Georgia, serif;
  font-weight: 900;
  box-shadow: inset 0 0 0 3px var(--yellow);
}
.brand strong { display: block; font-weight: 900; letter-spacing: .01em; }
.brand small { display: block; margin-top: -.25rem; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 1.45rem); font-weight: 800; }
.main-nav a { text-decoration: none; color: #1f2c24; padding: .45rem 0; }
.main-nav a:hover { color: var(--red-dark); }
.nav-cta {
  padding: .62rem 1rem !important;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
}
.nav-toggle {
  display: none;
  min-height: 44px;
  padding: .55rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1 {
  max-width: 12ch;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -.055em;
}
h2 {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.04em;
}
h3 {
  font-size: clamp(1.2rem, 1vw + 1rem, 1.55rem);
  font-weight: 900;
}
p { margin: 0; }
.lead {
  max-width: 58ch;
  margin-top: 1.25rem;
  color: #344139;
  font-size: clamp(1.12rem, 1vw + .9rem, 1.45rem);
}
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--red-dark);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section { max-width: 1220px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .82rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}
.btn.primary { background: var(--red); color: #fff; box-shadow: 0 12px 26px rgba(184, 50, 38, .22); }
.btn.primary:hover { background: var(--red-dark); }
.btn.secondary { background: #fff; border-color: rgba(15, 74, 50, .42); color: var(--green-dark); }
.text-link { display: inline-block; margin-top: 1.4rem; color: var(--red-dark); font-weight: 900; }

.hero,
.page-hero { max-width: 1220px; margin: 0 auto; padding: clamp(3.2rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.hero-home {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-stack {
  position: relative;
  min-height: 535px;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-main-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 22px;
  filter: saturate(1.02) contrast(1.02);
}
.hero-small-img {
  position: absolute;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 44%;
  height: 175px;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 15px 34px rgba(15, 52, 34, .22);
}
.hero-stack::after {
  content: "Innenausbau und Fassaden";
  position: absolute;
  left: 1.4rem;
  bottom: 1.45rem;
  max-width: 43%;
  padding: .6rem .8rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
}
.two-col { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.two-col.reverse { grid-template-columns: minmax(320px, 1.05fr) minmax(0, .95fr); }
.two-col.reverse > div { order: 2; }
.two-col.reverse > img { order: 1; }
.two-col img {
  width: 100%;
  height: min(48vw, 520px);
  min-height: 330px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.compact-hero { max-width: 980px; }
.compact-hero h1 { max-width: 16ch; }
.compact-hero .lead { max-width: 70ch; }

.home-services {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.home-services article { min-width: 0; }
.home-services a {
  display: block;
  min-height: 190px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(19, 43, 30, .06);
  text-decoration: none;
}
.home-services a:hover { border-top-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.home-services span {
  display: block;
  margin-bottom: .85rem;
  color: var(--red-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-services strong { display: block; font-size: clamp(1.18rem, .9vw + 1rem, 1.42rem); line-height: 1.18; }

.feature-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.feature-row.alt { grid-template-columns: 1fr 1fr; }
.feature-row img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.feature-copy p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: clamp(1.08rem, .8vw + .95rem, 1.34rem); }
.image-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 0; }
.image-band div,
.before-after figure,
.masonry figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e7ddc8;
  box-shadow: 0 12px 30px rgba(19, 43, 30, .1);
}
.image-band div { min-height: 280px; }
.image-band img,
.before-after img,
.masonry img { width: 100%; height: 100%; object-fit: cover; }
.image-band span,
.before-after figcaption,
.masonry figcaption {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  padding: .46rem .72rem;
  border-radius: 999px;
  background: rgba(10, 51, 36, .95);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
}
.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  max-width: 1160px;
  margin-bottom: 4rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--green-dark);
  color: #fff;
}
.cta-panel h2 { max-width: 11ch; }
.cta-panel .eyebrow { color: var(--yellow); }
.cta-panel p:not(.eyebrow) { margin-top: .8rem; color: rgba(255,255,255,.8); }

.content-grid,
.service-detail-grid,
.process,
.before-after,
.gallery-grid,
.team-grid { display: grid; gap: 1rem; padding-top: 0; }
.content-grid { grid-template-columns: 1fr 1fr; }
.service-detail-grid,
.process,
.before-after,
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.team-grid { grid-template-columns: repeat(4, 1fr); }
.text-card,
.contact-card,
.legal-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  box-shadow: 0 12px 30px rgba(19, 43, 30, .08);
}
.text-card p,
.legal-box p { margin-top: .75rem; color: var(--muted); }
.red-card { background: var(--green-dark); color: #fff; }
.red-card p { color: rgba(255,255,255,.82); }
.check-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .65rem; }
.check-list li { position: relative; padding-left: 1.45rem; font-weight: 800; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); }
.gallery-grid img { width: 100%; height: 285px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(19, 43, 30, .1); }
.service-detail-grid article,
.team-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(19, 43, 30, .08);
}
.service-detail-grid img { width: 100%; height: 245px; object-fit: cover; }
.service-detail-grid h2 { padding: 1.15rem 1.2rem .35rem; font-size: 1.45rem; }
.service-detail-grid p { padding: 0 1.2rem 1.25rem; color: var(--muted); }
.process div { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: 0 12px 30px rgba(19, 43, 30, .08); }
.process span { display: block; margin-bottom: .6rem; color: var(--red); font-size: 2.4rem; font-weight: 900; letter-spacing: -.04em; }
.process p { margin-top: .65rem; color: var(--muted); }
.before-after img { height: 320px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 0; }
.timeline div { border-left: 5px solid var(--green); border-radius: var(--radius); background: #fff; padding: 1.15rem; box-shadow: 0 10px 24px rgba(19, 43, 30, .07); }
.timeline span { display: block; color: var(--red-dark); font-size: 1.8rem; font-weight: 900; letter-spacing: -.03em; }
.timeline p { color: var(--muted); }
.team-grid img { width: 100%; height: 275px; object-fit: cover; object-position: top center; }
.team-grid h2 { padding: 1rem 1rem .15rem; font-size: 1.15rem; }
.team-grid p { padding: 0 1rem 1rem; color: var(--muted); }
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 0; }
.masonry figure.wide { grid-column: span 2; grid-row: span 2; }
.masonry img { height: 250px; }
.masonry figure.wide img { height: 516px; }
.masonry figure.small img { height: 180px; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.5rem; padding-top: 0; }
.contact-card.big h2 { font-size: clamp(1.8rem, 2vw, 2.6rem); }
.contact-card address { margin: 1rem 0; font-style: normal; font-size: 1.3rem; font-weight: 900; line-height: 1.45; }
.contact-card a { color: var(--green-dark); font-weight: 900; }
.map-shell {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e6eadb, #fff5db);
  box-shadow: var(--shadow);
}
.map-shell iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; filter: saturate(1.05) contrast(1.02); }
.map-fallback { position: absolute; z-index: 3; left: 1rem; top: 1rem; max-width: 310px; padding: .9rem; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.map-fallback strong,
.map-fallback span,
.map-fallback a { display: block; }
.map-fallback span { color: var(--muted); }
.map-fallback a { margin-top: .35rem; color: var(--red-dark); font-weight: 900; }
.legal-content { max-width: 940px; padding-top: 0; }
.legal-box h2 { margin-top: 1.5rem; font-size: 1.4rem; }
.legal-box h2:first-child { margin-top: 0; }
.legal-box a { color: var(--green-dark); font-weight: 800; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem clamp(1rem, 4vw, 3rem);
  background: var(--green-dark);
  color: #fff;
}
.site-footer strong,
.site-footer span { display: block; }
.site-footer span { color: rgba(255,255,255,.72); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .85rem 1.2rem; max-width: 840px; }
.site-footer a { color: #fff; font-weight: 900; }

@media (max-width: 1060px) {
  .main-nav { gap: .75rem; font-size: .96rem; }
  .hero-home,
  .two-col,
  .two-col.reverse,
  .feature-row,
  .feature-row.alt,
  .contact-layout { grid-template-columns: 1fr; }
  .two-col.reverse > div,
  .two-col.reverse > img { order: initial; }
  .home-services,
  .service-detail-grid,
  .process,
  .gallery-grid,
  .image-band,
  .before-after,
  .team-grid,
  .timeline,
  .masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .brand small { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav {
    position: absolute;
    top: calc(100% + .4rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .65rem; }
  h1 { max-width: 11ch; font-size: clamp(2.45rem, 12vw, 3.55rem); letter-spacing: -.05em; }
  .hero,
  .page-hero { padding-top: 3.2rem; }
  .hero-stack { min-height: auto; padding: .6rem; }
  .hero-main-img { height: 310px; border-radius: 18px; }
  .hero-small-img { display: none; }
  .hero-stack::after { left: 1rem; bottom: 1rem; max-width: none; }
  .home-services,
  .service-detail-grid,
  .process,
  .gallery-grid,
  .image-band,
  .before-after,
  .team-grid,
  .timeline,
  .masonry,
  .content-grid { grid-template-columns: 1fr; }
  .home-services a { min-height: auto; }
  .two-col img,
  .feature-row img { height: 320px; min-height: 0; border-radius: 22px; }
  .masonry figure.wide { grid-column: auto; grid-row: auto; }
  .masonry figure.wide img,
  .masonry img { height: 270px; }
  .cta-panel { display: block; }
  .cta-panel .btn { margin-top: 1.5rem; }
  .site-footer { display: block; }
  .site-footer nav { justify-content: flex-start; margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
