/* =========================================================
   ODENTHALSGARDEN
   Bereinigtes Stylesheet
   ========================================================= */


/* =========================================================
   1. FARBEN / GRUNDEINSTELLUNGEN
   ========================================================= */

:root {
  --green: #173428;
  --wood: #a96d39;
  --cream: #f4efe4;
  --paper: #fbf8f1;
  --ink: #20221f;
  --line: #d7d0c3;
}


/* =========================================================
   2. ALLGEMEINE EINSTELLUNGEN
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

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


/* =========================================================
   3. HEADER / NAVIGATION
   ========================================================= */

.header {
  height: 82px;
  padding: 0 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--line);

  position: sticky;
  top: 0;

  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(12px);

  z-index: 10;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;

  letter-spacing: 0.12em;
}

.brand img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.brand span,
footer strong span {
  color: var(--wood);
}

nav {
  display: flex;
  gap: 28px;

  font-size: 14px;
}

#menu {
  display: none;
}


/* =========================================================
   4. HERO
   ========================================================= */

.hero {
    min-height: auto;
  padding: 65px 6%;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;

  gap: 5vw;

}

.eyebrow {
  margin: 0 0 20px;

  font: 600 12px "Manrope";
  letter-spacing: 0.18em;

  color: var(--green);
}

.hero h1 {
  margin: 0;

  font: 700 clamp(56px, 7vw, 108px) / 0.92 "Manrope";
  letter-spacing: -0.065em;
}

.hero h1 em {
  font-style: normal;
  color: var(--wood);
}

.lead {
  max-width: 620px;
  margin: 30px 0;

  font-size: 20px;
  line-height: 1.6;
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.btn,
.outline {
  display: inline-block;

  padding: 15px 22px;

  border-radius: 99px;

  font-weight: 600;
}

.btn {
  background: var(--green);
  color: white;
}

.outline {
  margin-top: 18px;
  border: 1px solid currentColor;
}

/* Hero Buttons: global, nicht nur mobil */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .outline {
  margin-top: 0;
}


/* =========================================================
   6. HERO LOGO
   ========================================================= */

.hero-logo {
  display: grid;
  place-items: center;
}

.hero-logo img {
  width: min(500px, 90%);

  border-radius: 50%;

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   7. GRÜNER SECTION-TRENNER
   ========================================================= */

.strip {
  padding: 16px;

  background: var(--green);
  color: #f6efe3;

  text-align: center;

  letter-spacing: 0.14em;
  font-size: 12px;
}


/* =========================================================
   8. ALLGEMEINE SECTION
   ========================================================= */

.section {
  padding: 110px 7vw;
}

.title {
  margin-bottom: 50px;
}

.title h2 {
  margin: 0;

  font: 700 clamp(46px, 5.2vw, 80px) / 0.95 "Manrope";
  letter-spacing: -0.065em;
}

.title h2 em {
  font-style: normal;
  color: var(--wood);
}

.section-intro {
  max-width: 650px;
  margin-top: 24px;

  font-size: 18px;
  line-height: 1.7;

  color: #666;
}


/* =========================================================
   9. ÜBER ODENTHALSGARDEN
   ========================================================= */

.about {
  padding: 120px 7vw;

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;

  gap: 8vw;
}

.about > div:first-child {
  display: block;
  width: 100%;
  overflow: hidden;
}

.about > div:first-child img {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 4 / 5;

  object-fit: cover;
  object-position: center;

  border-radius: 0;
  box-shadow: none;
}

.about h2 {
  margin: 0;

  font: 700 clamp(46px, 5.2vw, 80px) / 0.95 "Manrope";
  letter-spacing: -0.06em;
}

.about h2 em {
  font-style: normal;
  color: var(--wood);
}

.about p:not(.eyebrow) {
  max-width: 720px;

  margin: 30px 0;

  font-size: 19px;
  line-height: 1.7;
}


/* =========================================================
   10. PROJEKTE + GARTEN / PORTFOLIO
   ========================================================= */

/*
   Beide Bereiche verwenden bewusst dasselbe Karten-Layout.
   Desktop: 3 Karten nebeneinander.
*/

.project-portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-card {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid var(--line);
}


/* ---------------------------------------------------------
   Normale Kartenbilder
   Einheitliche Bildfläche, aber keine Verzerrung.
   object-fit: cover schneidet nur bei Bedarf etwas ab.
   --------------------------------------------------------- */

.portfolio-card img {
  display: block;

  width: 100%;
  height: 540px;

  object-fit: cover;
  object-position: center;
}


/* ---------------------------------------------------------
   Großes Highlight
   Läuft über die volle Breite.
   --------------------------------------------------------- */

.portfolio-featured {
  grid-column: 1 / -1;
  display: block;
}

.portfolio-featured img {
  display: block;

  width: 100%;
  height: 440px;

  object-fit: cover;

  /* Welcome etwas höher im Bild platzieren */
  object-position: center 60%;
}


/* ---------------------------------------------------------
   Karteninhalt
   --------------------------------------------------------- */

.portfolio-content {
  padding: 16px 18px;
}

.portfolio-featured .portfolio-content {
  padding: 18px 20px;
}

.portfolio-content span {
  font: 600 9px "Manrope";
  letter-spacing: 0.16em;

  color: var(--wood);
}

.portfolio-content h3 {
  margin: 6px 0 8px;

  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.portfolio-content p {
  margin: 0;

  color: #666;

  font-size: 14px;
  line-height: 1.45;
}


/* Garten farblich absetzen, Layout bleibt identisch */
#garten {
  background: var(--cream);
}


/* =========================================================
   11. FOOTER
   ========================================================= */

footer {
  padding: 32px 5vw;

  display: flex;
  justify-content: space-between;

  gap: 20px;

  border-top: 1px solid var(--line);

  font-size: 12px;
}

footer strong {
  letter-spacing: 0.12em;
}


/* =========================================================
   12. TABLET
   bis 1000px
   ========================================================= */

@media (max-width: 1000px) {

  .project-portfolio {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-featured {
    grid-column: 1 / -1;
  }

}


/* =========================================================
   13. TABLET / MOBILE NAVIGATION
   bis 850px
   ========================================================= */

@media (max-width: 850px) {

  /* Navigation */

  #menu {
    display: block;

    background: none;
    border: 0;

    font-weight: 600;
  }

  nav {
    display: none;

    position: absolute;

    top: 82px;
    left: 0;
    right: 0;

    padding: 25px 5vw;

    background: var(--paper);

    border-bottom: 1px solid var(--line);

    flex-direction: column;
  }

  .header.open nav {
    display: flex;
  }


  /* Hero */

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }


  /* Über Odenthalsgarden */

  .about {
    grid-template-columns: 1fr;

    gap: 45px;

    padding: 80px 7vw;
  }

  .about > div:first-child {
    max-width: 600px;
  }

  .about > div:first-child img {
    aspect-ratio: 4 / 3;
  }


  /* Portfolio Highlight */

  .portfolio-featured img {
    height: 320px;
    object-position: center 65%;
  }

}


/* =========================================================
   14. SMARTPHONE
   bis 600px
   ========================================================= */

@media (max-width: 600px) {

  .project-portfolio {
    grid-template-columns: 1fr;
  }

  .portfolio-featured {
    grid-column: auto;
  }

  .portfolio-card img {
    height: 280px;
  }

  .portfolio-featured img {
    height: 280px;
    object-position: center 65%;
  }

  .portfolio-content,
  .portfolio-featured .portfolio-content {
    padding: 16px;
  }

}


/* =========================================================
   15. KLEINES SMARTPHONE
   bis 520px
   ========================================================= */

@media (max-width: 520px) {

  .brand strong {
    display: none;
  }

  .hero {
    padding: 70px 6vw;
  }

  .hero h1 {
    font-size: 58px;
  }

  .section {
    padding: 75px 6vw;
  }

  .about {
    padding: 70px 6vw;
    gap: 35px;
  }

  .about > div:first-child img {
    aspect-ratio: 4 / 5;
  }

  .about h2 {
    font-size: 44px;
  }

  .about p:not(.eyebrow) {
    font-size: 17px;
  }

  footer {
    flex-direction: column;
  }

}

/* =========================================================
   WAS ALS NÄCHSTES ENTSTEHT
   Abschluss nach dem Garten
   ========================================================= */

.next-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 6%;
  text-align: center;
}

.next-section .eyebrow {
  margin-bottom: 18px;
}

.next-section h2 {
  margin: 0 0 22px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.next-text {
  max-width: 650px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}


/* ---------------------------------------------------------
   Smartphone
   --------------------------------------------------------- */

@media (max-width: 700px) {

  .next-section {
    padding: 70px 6%;
  }

  .next-section h2 {
    font-size: 40px;
  }

  .next-text {
    font-size: 16px;
  }
}