/* SANDRI BAUMEISTER - vollständige style.css */

:root {
  --dark: #171816;
  --dark-soft: #22231f;
  --sand: #c3a77b;
  --sand-light: #e5d7c1;
  --cream: #f3f0ea;
  --text: #292925;
  --max-width: 1280px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

/* BASIS */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.75; }
main { width: 100%; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
section { scroll-margin-top: 24px; }

/* HEADER */
#header { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; border-bottom: 1px solid #ffffff33; }
.navbar { max-width: var(--max-width); min-height: 92px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { color: white; font-family: var(--serif); font-size: 1.3rem; letter-spacing: .14em; white-space: nowrap; }
.logo span { margin-left: 10px; color: var(--sand-light); font-family: var(--sans); font-size: .65rem; letter-spacing: .17em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { padding: 12px 0; color: white; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.nav-links a:hover { color: var(--sand-light); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: white; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 150px max(6vw, 24px) 90px; background: linear-gradient(90deg, #0d0e0cdb, #0d0e0c40), url("../images/hero-villa.jpg") center / cover no-repeat; background-color: var(--dark); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, #0000004d, transparent 55%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 820px; min-width: 0; }
.hero-label { margin-bottom: 28px; color: var(--sand-light); font-size: .68rem; letter-spacing: .26em; }
.hero h1 { margin-bottom: 28px; color: white; font-family: var(--serif); font-size: clamp(2.8rem, 5.6vw, 5.5rem); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
.hero h1 span { color: var(--sand-light); font-style: italic; }
.hero-text { max-width: 510px; color: #ffffffd9; font-size: 1rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.btn { min-height: 54px; padding: 16px 26px; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.btn-primary { background: var(--sand); color: var(--dark); }
.btn-secondary { border: 1px solid #ffffff99; color: white; }
.btn-primary:hover { background: var(--sand-light); }
.btn-secondary:hover { background: white; color: var(--dark); }

/* SECTIONS */
.section { padding: 100px max(6vw, 24px); }
.section-header { max-width: var(--max-width); margin: 0 auto 48px; }
.section-header span { display: block; margin-bottom: 14px; color: var(--sand); font-family: var(--serif); font-size: .9rem; }
.section-header p { margin-bottom: 18px; color: #74746d; font-size: .67rem; letter-spacing: .23em; }
.section-header h2 { max-width: 820px; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.6rem); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.section-dark { background: var(--dark); color: white; }
.section-dark .section-header p { color: #b4b3aa; }

/* SERVICES */
.services-grid { max-width: var(--max-width); margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d2cdc3; border-left: 1px solid #d2cdc3; }
.service-card { min-width: 0; padding: 36px 28px; border-right: 1px solid #d2cdc3; border-bottom: 1px solid #d2cdc3; }
.service-card:hover { background: #ebe5da; }
.service-number { display: block; margin-bottom: 38px; color: #96794f; font-family: var(--serif); font-size: .85rem; }
.service-card h3 { margin-bottom: 15px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.3; }
.service-card p { color: #66665f; font-size: .94rem; line-height: 1.8; }

/* PROJECT MAIN IMAGE */
.projects-grid { max-width: var(--max-width); margin: auto; }
.reference-project { overflow: hidden; background: var(--dark-soft); color: white; border: 1px solid #ffffff24; }
.reference-project-main { position: relative; min-height: 540px; display: flex; align-items: flex-end; background: #34352f; }
.reference-project-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.reference-project-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, #0c0d0bf0, #0c0d0b40 50%, transparent 80%); pointer-events: none; }
.reference-project-title { position: relative; z-index: 2; width: 100%; padding: 40px; }
.reference-project-title span { display: block; margin-bottom: 16px; color: var(--sand-light); font-size: .65rem; letter-spacing: .22em; }
.reference-project-title p { margin-bottom: 14px; color: #eee8df; font-size: .85rem; line-height: 1.6; }
.reference-project-title h3 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }

/* PROJECT DESCRIPTION */
.reference-project-info { display: block; }
.reference-project-description { padding: 36px 40px; border-bottom: 1px solid #ffffff24; }
.project-eyebrow { display: block; margin-bottom: 18px; color: var(--sand); font-size: .65rem; letter-spacing: .2em; }
.reference-project-description p { max-width: 820px; color: #e2ded6; font-family: var(--serif); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.85; }

/* PROJECT FACTS */
.reference-project-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.project-fact { min-width: 0; min-height: 140px; padding: 26px 20px; display: flex; flex-direction: column; justify-content: center; gap: 12px; border-right: 1px solid #ffffff24; border-bottom: 1px solid #ffffff24; }
.project-fact:last-child { border-right: 0; }
.project-fact strong { display: block; color: var(--sand-light); font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.2rem); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.project-fact span { display: block; color: #c6c5bd; font-size: .82rem; line-height: 1.5; letter-spacing: 0; text-transform: none; word-break: normal; overflow-wrap: normal; hyphens: auto; }

/* PROJECT GALLERY */
.reference-project-gallery { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 4px; background: var(--dark); }
.project-gallery-image { position: relative; height: 430px; overflow: hidden; background: #34352f; }
.project-gallery-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.reference-project-action { padding: 28px 40px; display: flex; justify-content: flex-end; }
.project-link { min-height: 54px; padding: 14px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid var(--sand); color: var(--sand-light); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.project-link:hover { background: var(--sand); color: var(--dark); }
.project-link span { font-size: 1.2rem; }

/* COMPANY AND CONTACT */
.about-content { max-width: var(--max-width); margin: auto; }
.about-content p { max-width: 780px; margin-left: auto; color: #55554f; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.8; }
.contact-section { background: #ded6c8; }
#contactContainer { max-width: var(--max-width); margin: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #b8afa0; border-left: 1px solid #b8afa0; }
.contact-item { padding: 32px 26px; border-right: 1px solid #b8afa0; border-bottom: 1px solid #b8afa0; overflow-wrap: anywhere; }
.contact-item small { display: block; margin-bottom: 16px; color: #686257; font-size: .65rem; letter-spacing: .14em; }
.contact-item p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.65; }

/* FOOTER */
footer { padding: 48px max(6vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #111210; color: #b4b3aa; }
.footer-brand { color: white; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .12em; }
.footer-brand span { color: var(--sand); font-family: var(--sans); font-size: .65rem; }
footer p { font-size: .8rem; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sand); outline-offset: 5px; }

/* TABLET */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 92px; left: 0; width: 100%; padding: 20px 28px; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid #44443e; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-fact:nth-child(2n) { border-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* MOBILE */
@media (max-width: 600px) {
  .navbar { min-height: 76px; padding: 0 20px; gap: 12px; }
  .logo { font-size: 1.05rem; }
  .logo span { font-size: .55rem; margin-left: 6px; }
  .nav-links { top: 76px; }
  .nav-links a { font-size: .8rem; }
  .hero { min-height: 92vh; padding: 125px 22px 65px; background-position: 62% center; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.3rem); line-height: 1.15; }
  .hero-label { font-size: .65rem; letter-spacing: .18em; }
  .hero-text { font-size: .96rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; font-size: .72rem; }
  .section { padding: 70px 20px; }
  .section-header { margin-bottom: 35px; }
  .section-header h2 { font-size: clamp(1.9rem, 7.5vw, 2.4rem); line-height: 1.22; }
  .services-grid { grid-template-columns: 1fr; }
  .service-number { margin-bottom: 28px; }
  .service-card h3 { font-size: 1.3rem; }
  .reference-project-main { min-height: 400px; }
  .reference-project-title { padding: 28px 22px; }
  .reference-project-title h3 { font-size: clamp(1.9rem, 8vw, 2.7rem); line-height: 1.18; }
  .reference-project-description { padding: 28px 22px; }
  .reference-project-description p { font-size: 1.05rem; line-height: 1.8; }
  .project-fact { min-height: 125px; padding: 22px 16px; }
  .project-fact strong { font-size: 1.65rem; }
  .project-fact span { font-size: .8rem; }
  .reference-project-gallery { grid-template-columns: 1fr; }
  .project-gallery-image { height: auto; }
  .project-gallery-image img { width: 100%; height: auto; object-fit: contain; }
  .reference-project-action { padding: 25px 22px; }
  .project-link { width: 100%; }
  .about-content p { font-size: 1.15rem; }
  footer { flex-direction: column; align-items: flex-start; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ENDE DER DATEI */
