/* Cleanaro Immobilien GmbH
   Farben aus dem Logo: Anthrazit #191e23, Gold #b38d58
   Schriften: Jost (Überschriften, passend zur Logo-Typo), Inter (Fließtext) */

/* Lokal gehostete Schriften (variable Fonts, Latin), kein Abruf von Google-Servern */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  --anthrazit: #191e23;
  --anthrazit-80: #2d3338;
  --gold: #b38d58;
  --gold-dark: #9a7747;
  --grau-text: #5a6066;
  --grau-bg: #f5f4f1;
  --linie: #e4e1dc;
  --weiss: #ffffff;
  --container: 1180px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--anthrazit);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Jost", "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: .01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--weiss); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 400; }

p { margin: 0 0 1.2em; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* Kleine Überzeile in Gold, Versalien, wie der Logo-Zusatz */
.eyebrow {
  font-family: "Jost", sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow--light { color: #e2cfae; }
.eyebrow--gold { color: var(--gold); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .6rem 0;
}
.header__logo img { width: 120px; height: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav a:hover { border-color: var(--gold); }
.nav__cta {
  border: 1px solid var(--gold) !important;
  color: var(--gold);
  padding: .55rem 1.1rem !important;
  border-radius: var(--radius);
}
.nav__cta:hover { background: var(--gold); color: var(--weiss); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .95rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold); color: var(--weiss); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--dark { background: var(--anthrazit); color: var(--weiss); }
.btn--dark:hover { background: var(--gold); }

/* Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--weiss);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(25, 30, 35, .88) 0%, rgba(25, 30, 35, .55) 55%, rgba(25, 30, 35, .25) 100%);
}
.hero__content {
  position: relative;
  padding: 6rem 0;
  max-width: 720px;
  margin-left: max(1.5rem, calc((100% - var(--container)) / 2));
}
.hero__text {
  font-size: 1.1rem;
  max-width: 560px;
  color: #e8e6e2;
  margin-bottom: 2.2rem;
}

/* Sections */
.section { padding: 6rem 0; }
.section--grey { background: var(--grau-bg); }
.section--dark { background: var(--anthrazit); color: #d9d7d2; }
.section--dark h2 { color: var(--weiss); }

.grid { display: grid; gap: 3rem; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--center { align-items: center; }

.text-block p { color: var(--grau-text); font-size: 1.05rem; }

/* Tätigkeiten */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-top: 2px solid var(--gold);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius);
}
.card__num {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.card p { color: var(--grau-text); margin: 0; font-size: .98rem; }

/* Bildband */
.band { max-height: 520px; overflow: hidden; }
.band img { width: 100%; height: 520px; object-fit: cover; }

/* Grundstück */
.img-frame { position: relative; }
.img-frame::after {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--gold);
  z-index: -1;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.checklist li {
  padding: .5rem 0 .5rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--linie);
  color: var(--grau-text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* Geschäftsführung */
.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 3rem;
  margin-top: 3rem;
}
.person h3 { margin: 1.2rem 0 .2rem; }
.person p { color: var(--gold); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.person__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e7e3dc;
  border-radius: var(--radius);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__photo--placeholder {
  display: grid;
  place-items: center;
  font-family: "Jost", sans-serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: .1em;
  color: var(--gold);
  background: #ebe7e0;
}

/* Kontakt */
address { font-style: normal; margin: 0 0 2rem; font-size: 1.05rem; }
.data {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .5rem 1.5rem;
  margin: 0;
  font-size: .95rem;
}
.data dt { color: var(--gold); font-weight: 500; }
.data dd { margin: 0; color: #d9d7d2; }

/* Footer */
.footer {
  background: #121619;
  color: #8b9096;
  font-size: .85rem;
  padding: 1.5rem 0;
}
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 1.5rem; }
.footer a:hover { color: var(--gold); }

/* Unterseiten Impressum und Datenschutz */
.legal { padding: 5rem 0 6rem; }
.legal .container { max-width: 800px; }
.legal h1 { color: var(--anthrazit); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.8rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.legal p, .legal li { color: var(--grau-text); }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--gold); border-bottom: 1px solid transparent; }
.legal a:hover { border-color: var(--gold); }
.legal .back { display: inline-block; margin-top: 3rem; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 4rem 0; }
  .grid--2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .nav a:not(.nav__cta) { display: none; }
  .hero { min-height: 70vh; }
  .hero__content { padding: 4rem 0; }
  .band img { height: 320px; }
  .img-frame::after { display: none; }
  .data { grid-template-columns: 1fr; gap: .1rem; }
  .data dd { margin-bottom: .8rem; }
}
