/*
Theme Name: GLC Theme
Theme URI: https://www.greenlivingconcepts.de
Author: Green.Living.Concepts. / DMD GmbH
Description: Individuelles Theme für Green.Living.Concepts. – Startseite, Impressum, Datenschutz und Kontaktformular. Layout fest im Code; Texte und Bilder über den Customizer pflegbar (Design → Customizer → „GLC – …“). Stand: finale HTML-Vorlage 260617.
Version: 2.8
Requires PHP: 7.4
License: Proprietär – nur für Green.Living.Concepts. / DMD GmbH
Text Domain: glc-theme
*/

@font-face {
  font-family: 'Avenir GLC';
  src: url('assets/fonts/avenir-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir GLC';
  src: url('assets/fonts/avenir-Demi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #3e5a47;
  --forest-deep: #223027;
  --ivory: #f6f3ee;
  --sage: #a8b5a4;
  --petrol: #31555a;
  --bronze: #9a7a52;
  --stone: #d5d0c7;
  --sand: #ebe6dc;
  --ink: #223027;
  --muted: #667068;
  --header-h: 86px;
  --max: 1080px;
  --narrow: 760px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Avenir GLC', 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.68;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.1rem, 4vw, 3rem);
  background: var(--forest);
  color: var(--ivory);
  transition: background 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: clamp(260px, 26vw, 360px);
  min-width: 0;
  color: var(--ivory);
  text-decoration: none;
}
.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter 0.2s ease;
}

.brand span {
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}


.site-header.is-scrolled {
  background: rgba(62, 90, 71, 0.96);
  box-shadow: 0 12px 30px rgba(34, 48, 39, 0.14);
  backdrop-filter: blur(10px);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.1rem, 2.4vw, 2.4rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a,
.site-footer a {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.84;
  transition: opacity 180ms ease;
  white-space: nowrap;
}

.main-nav a:hover,
.site-footer a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 620px;
  height: calc(100svh - 40px);
  max-height: 820px;
  margin-top: 0;
  overflow: hidden;
  background: var(--forest);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.92) saturate(0.97);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 48, 39, 0.62) 0%, rgba(34, 48, 39, 0.28) 46%, rgba(34, 48, 39, 0.04) 100%),
    linear-gradient(0deg, rgba(34, 48, 39, 0.26) 0%, rgba(34, 48, 39, 0) 52%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 3rem);
  color: var(--ivory);
}

.hero__kicker,
.label {
  margin: 0 0 0.85rem;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.section h3,
p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero h1,
.section h2,
.section h3 {
  margin: 0;
  font-family: 'Avenir GLC', 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero h1 {
  width: min(100%, 860px);
  max-width: 100%;
  align-self: flex-start;
  color: var(--ivory);
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  font-weight: 600;
  line-height: 1.06;
  text-transform: uppercase;
}
.hero__lead {
  width: min(100%, 720px);
  max-width: 100%;
  align-self: flex-start;
  margin: 1.25rem 0 0;
  color: rgba(246, 243, 238, 0.94);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 600;
  line-height: 1.36;
}

.hero__intro {
  width: min(100%, 690px);
  max-width: 100%;
  align-self: flex-start;
  margin: 1rem 0 0;
  color: rgba(246, 243, 238, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.hero__actions {
  display: flex;
  width: min(100%, 690px);
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hero__actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(246, 243, 238, 0.66);
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__actions a:first-child {
  background: var(--ivory);
  color: var(--forest-deep);
}

.ai-note {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(0.8rem, 2vw, 1.3rem);
  z-index: 2;
  margin: 0;
  padding: 0.28rem 0.5rem;
  background: rgba(34, 48, 39, 0.64);
  color: rgba(246, 243, 238, 0.82);
  font-size: 0.72rem;
  line-height: 1;
}

.section {
  padding: clamp(4.4rem, 8vw, 7.2rem) clamp(1.25rem, 5vw, 3rem);
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-heading {
  width: min(100%, var(--narrow));
  max-width: 100%;
}

.section h2 {
  color: var(--forest);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.16;
}
.section h3 {
  color: var(--forest);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.28;
}

.section p {
  max-width: var(--narrow);
}

.services {
  background: var(--ivory);
}

.service-grid,
.person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.8vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.service-grid article,
.person-grid article,
.contact-card {
  min-width: 0;
  border-top: 2px solid var(--forest);
  padding-top: 1.2rem;
}

.project-list span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--bronze);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--bronze);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-grid p,
.person-grid p,
.project-list p,
.knowledge__copy p,
.contact p {
  margin: 0.8rem 0 0;
}

.image-band {
  height: clamp(260px, 40vw, 520px);
  overflow: hidden;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.people {
  background: var(--sand);
}

.people__grid,
.projects__grid,
.knowledge__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.2rem, 6vw, 5rem);
  align-items: start;
}

.people__content {
  min-width: 0;
}

.person-grid {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.vision-card {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  padding: clamp(1.3rem, 3vw, 2rem);
  background: rgba(246, 243, 238, 0.62);
  border-left: 4px solid var(--bronze);
}

.vision-card p:last-child {
  margin: 0;
  color: var(--forest-deep);
  font-size: clamp(1.22rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.36;
}

.projects {
  background: var(--forest);
  color: rgba(246, 243, 238, 0.82);
}

.projects h2 {
  color: var(--ivory);
}

.label--light {
  color: rgba(246, 243, 238, 0.74);
}

.project-list {
  display: grid;
  gap: 1.35rem;
}

.project-list article {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(246, 243, 238, 0.22);
}

.project-list span {
  color: var(--ivory);
}

.project-list p {
  color: rgba(246, 243, 238, 0.82);
}

.knowledge {
  background: var(--stone);
}

.knowledge__copy .text-link {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--petrol);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact {
  background: var(--ivory);
}

.company-address {
  margin-top: 1.6rem;
  color: var(--forest);
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

.contact-cards {
  display: grid;
  gap: 1.4rem;
}

.contact-card {
  padding-top: 1rem;
}

.contact-card p {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
}

.contact-card a,
.website-link {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  border-bottom: 1px solid var(--stone);
  color: var(--petrol);
  font-weight: 600;
  text-decoration: none;
}

.website-link {
  border-bottom-color: var(--forest);
  color: var(--forest);
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem clamp(1.25rem, 4vw, 3rem);
  background: var(--forest);
  color: rgba(246, 243, 238, 0.74);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  gap: 1.2rem;
}


@media (min-width: 901px) {
  .people__grid {
    grid-template-columns: minmax(560px, 1.2fr) minmax(0, 0.8fr);
  }
}
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    height: auto;
    min-height: var(--header-h);
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding-block: 0.55rem;
  }

  .brand {
    width: min(210px, 58vw);
  }
.main-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: visible;
    column-gap: clamp(0.6rem, 1.8vw, 1.4rem);
    row-gap: 0;
  }

  .main-nav a {
    font-size: clamp(0.72rem, 1.7vw, 0.86rem);
  }

  .hero {
    min-height: 610px;
    height: calc(100svh - 28px);
  }

  .hero__shade {
    background: linear-gradient(90deg, rgba(34, 48, 39, 0.84) 0%, rgba(34, 48, 39, 0.58) 60%, rgba(34, 48, 39, 0.24) 100%);
  }

  .service-grid,
  .person-grid,
  .people__grid,
  .projects__grid,
  .knowledge__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding-inline: 0.7rem;
  }

  .brand {
    width: min(176px, 54vw);
  }

  .main-nav {
    flex-wrap: nowrap;
    column-gap: clamp(0.4rem, 1.7vw, 0.8rem);
    row-gap: 0;
  }

  .main-nav a {
    font-size: clamp(0.56rem, 2.6vw, 0.7rem);
    letter-spacing: 0.04em;
  }

  .hero {
    min-height: 640px;
  }

  .hero__content,
  .section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero__kicker,
  .hero h1,
  .hero__lead,
  .hero__intro,
  .section-heading,
  .section h2 {
    width: min(100%, 330px) !important;
    max-width: calc(100vw - 2rem) !important;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
    font-weight: 600;
    line-height: 1.09;
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__intro {
    font-size: 0.96rem;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions a {
    width: 100%;
  }

  .section {
    padding-block: 3.8rem;
  }

  .section h2 {
    font-size: clamp(1.55rem, 6.6vw, 1.9rem);
    font-weight: 600;
    line-height: 1.16;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .page-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
    line-height: 1.04;
  }
  .content-page .section__inner {
    width: min(100%, calc(100vw - 2rem));
  }

  .content-page h1,
  .content-page h2,
  .content-page h3,
  .content-page p,
  .content-page li,
  .notice-box {
    max-width: 100%;
  }
}
/* Vorher/Nachher als zwei separate Hochkant-Bilder */
.reference-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.reference-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(246, 243, 238, 0.16);
  aspect-ratio: 4 / 5;
}

.reference-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-label {
  position: absolute;
  z-index: 1;
  top: 0.6rem;
  left: 0.6rem;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.3rem 0.5rem;
  color: var(--forest-deep) !important;
  background: rgba(246, 243, 238, 0.96);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.1;
  text-transform: uppercase;
}

.reference-credit-text {
  margin: 0 0 0.6rem;
  color: rgba(246, 243, 238, 0.66);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .reference-label {
    min-height: 19px;
    padding: 0.24rem 0.4rem;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
}

/* ============================================================
   Anpassungen 260617 (Kundenrückmeldung)
   ============================================================ */

/* Punkt 4: aktiver Reiter beim Scrollen (Scroll-Spy) */
.main-nav a {
  position: relative;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a.is-active {
  opacity: 1;
  border-bottom-color: currentColor;
}

/* Punkt 5: Foto-Plätze bei „Wer wir sind" */
.person-photo {
  margin: 0 0 1.1rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--sage);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--sage) 0%, var(--stone) 100%);
}

.person-photo--placeholder span {
  color: var(--forest-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}





/* ==========================================================================
   Theme-Ergänzungen (WordPress-spezifisch – nicht Teil der HTML-Vorlage)
   ========================================================================== */

/* Fixierte Kopfzeile: Versatz für die WordPress-Adminleiste (eingeloggt) */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* Unterseiten (Impressum, Datenschutz, sonstige Seiten) */
.content-page .page-hero {
  padding-top: calc(var(--header-h) + clamp(1.6rem, 4vw, 3rem));
  padding-bottom: clamp(1.4rem, 3vw, 2.2rem);
}
.content-page h1 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
}
.content-page .page-hero .section__inner,
.content-block .section__inner {
  width: min(100%, var(--narrow));
}
.content-block { padding-top: 0; }

.page-content > h2 {
  margin-top: 2.6rem;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
}
.page-content > h2:first-child { margin-top: 0; }
.page-content > h3 { margin-top: 2rem; color: var(--forest); }
.page-content p,
.page-content ul,
.page-content ol {
  margin: 1.1rem 0 0;
  max-width: var(--narrow);
}
.page-content a { color: var(--petrol); }
.page-content mark { background: var(--sand); padding: 0 0.25em; }

.notice-box {
  margin-top: 2rem;
  padding: 0.95rem 1.15rem;
  background: rgba(168, 181, 164, 0.22);
  border-left: 3px solid var(--forest);
}
.notice-box p { margin: 0; }

/* Kontaktformular */
.contact-form {
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--stone);
}
.contact-form h3 { font-size: 1.2rem; color: var(--forest); }
.contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.6rem;
}
.contact-form .form-field--full { grid-column: 1 / -1; }
.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--stone);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1.3rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: var(--narrow);
}
.contact-form .form-consent input {
  margin-top: 0.3rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--forest);
  flex: none;
}
.contact-form .form-consent a { color: var(--petrol); }
.contact-form button[type="submit"] {
  margin-top: 1.6rem;
  padding: 0.95rem 2.4rem;
  border: 0;
  background: var(--forest);
  color: var(--ivory);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 180ms ease;
}
.contact-form button[type="submit"]:hover { opacity: 0.92; }
.contact-form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.form-note { margin-top: 1.4rem; padding: 0.9rem 1.1rem; font-size: 0.95rem; }
.form-note--ok {
  background: rgba(168, 181, 164, 0.25);
  border-left: 3px solid var(--forest);
  color: var(--forest);
}
.form-note--error {
  background: rgba(154, 122, 82, 0.14);
  border-left: 3px solid var(--bronze);
  color: var(--bronze);
}
@media (max-width: 640px) {
  .contact-form .form-grid { grid-template-columns: 1fr; }
}

/* Einzelbeitrag (Wissen-Artikel) */
.content-page .text-link {
  display: inline-flex;
  margin-top: 1.6rem;
  color: var(--petrol);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.content-page .text-link:hover { color: var(--forest); }
.article-meta {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Robustheit 2.1 – Layout bleibt bei längeren Texten stabil
   ========================================================================== */

/* Hero darf bei langer Headline/Einleitung mitwachsen statt abzuschneiden */
.hero {
  display: flex;
  height: auto;
  max-height: none;
  min-height: min(820px, calc(100svh - 40px));
}
.hero__content {
  height: auto;
}

@media (max-width: 900px) {
  .hero {
    min-height: min(640px, calc(100svh - 28px));
  }
  /* Navi: bleibt bei den aktuellen 5 Reitern einzeilig, bricht bei
     längeren Labels / einem 6. Reiter sauber zentriert um */
  .main-nav {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }
}

@media (max-width: 560px) {
  .main-nav {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
}

/* ==========================================================================
   Anker-Sprünge: kleines Polster gegen die fixe Kopfzeile (nur mobil nötig,
   da die Abschnitte selbst genügend oberen Abstand haben)
   ========================================================================== */
@media (max-width: 900px) {
  html { scroll-padding-top: 2rem; }
}

/* Wissen-Teaser: Titel verlinkt auf den Beitrag */
.article-teaser__link { color: inherit; text-decoration: none; }
.article-teaser__link:hover { color: var(--petrol); }

/* ==========================================================================
   Immobilien (Plugin „GLC Immobilien")
   ========================================================================== */
.immobilien { background: var(--ivory); }
.immo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.1rem,2.6vw,1.8rem); margin-top: clamp(2rem,4vw,3rem); }
.immo-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--stone); border-radius: 6px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.immo-card:hover { box-shadow: 0 14px 30px rgba(34,48,39,.12); transform: translateY(-2px); }
.immo-card__img { position: relative; display: block; aspect-ratio: 4/3; background: var(--sage) center/cover no-repeat; }
.immo-badge { position: absolute; top: .6rem; left: .6rem; padding: .28rem .55rem; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ivory); background: var(--forest); border-radius: 3px; }
.immo-badge.is-frei { background: var(--forest); }
.immo-badge.is-res  { background: var(--bronze); }
.immo-badge.is-weg  { background: var(--muted); }
.immo-card__body { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem 1.2rem; }
.immo-card__title { color: var(--forest); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.immo-card__meta { color: var(--muted); font-size: .9rem; }
.immo-card__price { margin-top: .3rem; color: var(--petrol); font-weight: 600; }
.immo-more { margin-top: clamp(1.6rem,3vw,2.2rem); }
.immo-single__grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
.immo-facts { background: var(--sand); border-left: 4px solid var(--bronze); padding: clamp(1.3rem,3vw,1.8rem); }
.immo-facts h2 { margin: 0 0 .8rem; color: var(--forest); font-size: 1.2rem; }
.immo-facts dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.immo-facts dt { color: var(--muted); font-size: .9rem; }
.immo-facts dd { margin: 0; color: var(--forest-deep); font-weight: 600; }
.btn-pdf { display: inline-flex; min-height: 46px; align-items: center; margin-top: 1.2rem; padding: .7rem 1.4rem; background: var(--forest); color: var(--ivory); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.btn-pdf:hover { opacity: .92; }
@media (max-width: 900px) { .immo-grid { grid-template-columns: 1fr 1fr; } .immo-single__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .immo-grid { grid-template-columns: 1fr; } }
