/* =========================================================
   Stone Passion — style.css
   Design-Tokens siehe Schritt 1 (Design-Konzept)
   ========================================================= */

/* Lokal gehostete Schriftarten (Quicksand, Nunito Sans) statt externem
   Google-Fonts-Import: vermeidet jede Datenübertragung an Google-Server
   beim Seitenaufruf (siehe Datenschutzerklärung). */
@font-face{
  font-family:'Quicksand'; font-style:normal; font-weight:500; font-display:swap;
  src: url('../fonts/quicksand-latin-500-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Quicksand'; font-style:normal; font-weight:600; font-display:swap;
  src: url('../fonts/quicksand-latin-600-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Quicksand'; font-style:normal; font-weight:700; font-display:swap;
  src: url('../fonts/quicksand-latin-700-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Nunito Sans'; font-style:normal; font-weight:400; font-display:swap;
  src: url('../fonts/nunito-sans-latin-400-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Nunito Sans'; font-style:italic; font-weight:400; font-display:swap;
  src: url('../fonts/nunito-sans-latin-400-italic.woff2') format('woff2');
}
@font-face{
  font-family:'Nunito Sans'; font-style:normal; font-weight:600; font-display:swap;
  src: url('../fonts/nunito-sans-latin-600-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Nunito Sans'; font-style:normal; font-weight:700; font-display:swap;
  src: url('../fonts/nunito-sans-latin-700-normal.woff2') format('woff2');
}

:root{
  /* Farben */
  --cream:      #FAF6F0;
  --ivory:      #F1E9DD;
  --copper:     #B8825E;
  --bronze:     #8B5A36;
  --charcoal:   #2A2420;
  --stone:      #9C9284;
  --white:      #FFFFFF;

  /* Typografie */
  --font-head:  'Quicksand', sans-serif;
  --font-body:  'Nunito Sans', sans-serif;

  /* Abstände */
  --gap-xs: 0.5rem;
  --gap-sm: 1rem;
  --gap-md: 1.75rem;
  --gap-lg: 3rem;
  --gap-xl: 5.5rem;

  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1180px;

  --shadow-soft: 0 10px 30px rgba(42,36,32,0.10);
  --shadow-card: 0 4px 16px rgba(42,36,32,0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-head); font-weight:700; margin:0; color: var(--charcoal); }
p{ margin:0; }
section{ position:relative; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.skip-link{
  position:absolute; left:12px; top:-60px;
  background: var(--charcoal); color:#fff;
  padding:10px 18px; border-radius: 0 0 8px 8px;
  font-family: var(--font-head); font-weight:600; font-size:14px;
  transition: top .2s ease;
  z-index: 200;
}
.skip-link:focus{ top:0; }

:focus-visible{
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Eyebrow / Section heads ---------- */
.eyebrow{
  font-family: var(--font-head);
  font-weight:600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--bronze);
  margin: 0 0 14px;
}
.section-head{
  max-width: 620px;
  margin: 0 0 var(--gap-lg);
}
.section-head h2{
  font-size: clamp(26px, 3.4vw, 36px);
  line-height:1.25;
}
.section-head p{
  margin-top: 14px;
  color: #544B43;
  font-size: 16.5px;
}
.section-head.center{
  margin-left:auto; margin-right:auto; text-align:center;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-head); font-weight:600; font-size:14.5px;
  padding: 14px 28px;
  border-radius: 30px;
  transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
  border: 1.5px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background: var(--copper); color:#fff;
}
.btn-primary:hover{ background: var(--bronze); transform: translateY(-1px); }
.btn-ghost{
  background: transparent; color:#fff; border-color: rgba(255,255,255,0.65);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.14); border-color:#fff; }
.btn-outline{
  background:transparent; color: var(--copper); border-color: var(--copper);
}
.btn-outline:hover{ background: var(--copper); color:#fff; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index:100;
  background: rgba(250,246,240,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42,36,32,0.08);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}
.brand img{
  height: 56px;
  width:auto;
  display:block;
}

.main-nav ul{
  display:flex; gap: 2rem;
  font-family: var(--font-head); font-weight:600; font-size: 14.5px;
}
.main-nav a{
  color: var(--charcoal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.main-nav a:hover{ color: var(--bronze); border-color: var(--copper); }

.header-actions{
  display:flex; align-items:center; gap:18px;
}
.header-phone{
  display:flex; align-items:center; gap:8px;
  font-family: var(--font-head); font-weight:600; font-size:14.5px;
  color: var(--charcoal);
}
.header-phone svg{ width:17px; height:17px; stroke: var(--copper); flex-shrink:0; }

.nav-toggle{
  display:none;
  position:relative;
  background:none; border:none; cursor:pointer;
  width: 44px; height:44px;
  padding:0;
  flex-shrink:0;
  border-radius:50%;
  transition: background-color .2s ease;
}
.nav-toggle:hover{ background: rgba(42,36,32,0.06); }
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after{
  content:"";
  position:absolute;
  left:50%;
  width:20px; height:2px;
  background: var(--charcoal);
  border-radius:2px;
  transform: translateX(-50%);
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.nav-toggle::before{ top: 16px; }
.nav-toggle span{ top: 21px; }
.nav-toggle::after{ top: 26px; }

.nav-toggle[aria-expanded="true"] span{ opacity:0; }
.nav-toggle[aria-expanded="true"]::before{ top:21px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after{ top:21px; transform: translateX(-50%) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  min-height: 88vh;
  display:flex; align-items:flex-end;
  background: linear-gradient(180deg, rgba(42,36,32,0.15) 0%, rgba(42,36,32,0.78) 100%),
              url('../img/hero-steinbruch.jpg') center 62% / cover no-repeat;
  color:#fff;
}
.hero-inner{
  padding-bottom: clamp(48px, 8vw, 96px);
  max-width: 760px;
}
.hero .eyebrow{ color: #E9C9A8; }
.hero h1{
  color:#fff;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height:1.16;
  margin-bottom: 22px;
}
.hero h1 em{
  font-style: normal;
  color: #E9C9A8;
}
.hero-lede{
  font-size: 18px;
  color:#F1E9DD;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-ctas{
  display:flex; flex-wrap:wrap; gap:16px;
}

/* =========================================================
   ÜBER MICH
   ========================================================= */
.about{
  padding: var(--gap-xl) 0;
}
.about .container{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items:center;
}
.about-media{
  position:relative;
}
.about-media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width:100%;
  aspect-ratio: 3/4;
  object-fit:cover;
}
.about-badge{
  position:absolute;
  bottom:-24px; left:-24px;
  background: var(--copper);
  color:#fff;
  font-family: var(--font-head); font-weight:700;
  border-radius: 50%;
  width:138px; height:138px;
  box-sizing:border-box;
  padding: 0 22px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  font-size:12.5px;
  letter-spacing:0.01em;
  line-height:1.4;
  box-shadow: var(--shadow-soft);
}
.about-badge strong{ display:block; font-size:28px; line-height:1.1; margin-bottom:2px; }

.about-body blockquote{
  font-family: var(--font-head);
  font-weight:600;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height:1.5;
  color: var(--bronze);
  margin: 0 0 22px;
  padding-left: 22px;
  border-left: 3px solid var(--copper);
}
.about-body p{
  margin-bottom: 16px;
  color:#4B4238;
}
.about-body p a{
  color: var(--bronze);
}
.about-facts{
  display:flex; flex-wrap:wrap;
  gap: 14px;
  margin-top: 28px;
}
.about-facts li{
  font-family: var(--font-head); font-weight:600; font-size:13.5px;
  background: var(--ivory);
  color: var(--bronze);
  padding: 9px 16px;
  border-radius: 20px;
}

/* =========================================================
   LEISTUNGEN
   ========================================================= */
.services{
  padding: var(--gap-xl) 0;
  background: var(--ivory);
}
.service-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.service-icon{
  width:52px; height:52px;
  border-radius:50%;
  background: var(--cream);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.service-icon svg{ width:24px; height:24px; stroke: var(--copper); fill:none; stroke-width:1.6; }
.service-card h3{
  font-size: 17px;
  margin-bottom: 10px;
}
.service-card p{
  font-size: 14.5px;
  color:#5C5248;
  line-height:1.6;
}

/* =========================================================
   MATERIALIEN
   ========================================================= */
.materials{
  padding: var(--gap-xl) 0;
}
.material-intro{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items:start;
  margin-bottom: var(--gap-lg);
}
.material-chips{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top: 22px;
}
.material-chips li{
  font-family: var(--font-head); font-weight:600; font-size:13.5px;
  border: 1.5px solid var(--copper);
  color: var(--bronze);
  padding: 8px 16px;
  border-radius: 20px;
}
.material-areas{
  color:#5C5248; font-size:15px;
}
.material-areas strong{ color: var(--charcoal); }

/* Materialschiene — Signature-Element */
.material-rail{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--charcoal);
}
.material-rail figure{
  position:relative; margin:0; height: 260px; overflow:hidden;
}
.material-rail img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.material-rail figure:hover img{ transform: scale(1.06); }
.material-rail figcaption{
  position:absolute; left:16px; bottom:14px;
  color:#fff;
  font-family: var(--font-head); font-weight:600; font-size:14px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.material-rail figure::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(42,36,32,0) 55%, rgba(42,36,32,0.65) 100%);
}

/* =========================================================
   GALERIE
   ========================================================= */
.gallery{
  padding: var(--gap-xl) 0;
  background: var(--ivory);
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-grid figure{ margin:0; overflow:hidden; border-radius: var(--radius-sm); position:relative; }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.gallery-grid figure:hover img{ transform: scale(1.05); }
.gallery-grid .tall{ grid-row: span 2; }
.gallery-grid .wide{ grid-column: span 2; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact{
  padding: var(--gap-xl) 0;
}
.contact .container{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 64px);
  align-items:center;
}
.contact-card{
  background: var(--charcoal);
  color:#fff;
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 52px);
}
.contact-card h2{ color:#fff; font-size: clamp(24px,3vw,30px); margin-bottom:14px; }
.contact-card p{ color:#D9CFC2; margin-bottom: 28px; font-size:15.5px; }
.contact-list{ display:flex; flex-direction:column; gap:18px; }
.contact-list a{
  display:flex; align-items:center; gap:14px;
  font-family: var(--font-head); font-weight:600; font-size:16px;
  color:#fff;
  transition: color .2s ease;
}
.contact-list a:hover{ color: var(--copper); }
.contact-list svg{ width:20px; height:20px; stroke: var(--copper); flex-shrink:0; }

.contact-region{
  border-radius: var(--radius);
  overflow:hidden;
}
.contact-region img{
  width:100%; height:100%; object-fit:cover; aspect-ratio: 4/5;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--charcoal);
  color: #C9BFB2;
  padding: var(--gap-lg) 0 var(--gap-md);
  font-size: 13.5px;
}
.footer-top{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 22px;
}
.footer-brand img{
  height: 64px;
  width:auto;
  display:block;
}
.footer-nav ul{ display:flex; flex-wrap:wrap; gap: 22px; }
.footer-nav a:hover{ color:#fff; }
.footer-legal{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px;
  color: #9A9082;
}
.footer-legal a:hover{ color:#fff; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal{
  opacity:0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .material-rail{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .about .container, .contact .container{ grid-template-columns: 1fr; }
  .about-media{ max-width: 380px; margin: 0 auto; }
  .material-intro{ grid-template-columns: 1fr; }
}

/* Navigation kollabiert bereits deutlich vor dem Inhalts-Breakpoint (980px),
   damit Logo, Nav-Links und Telefonnummer nie zusammengequetscht werden. */
@media (max-width: 1040px){
  .main-nav{
    position:fixed;
    top:76px; left:0; right:0;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    background: var(--cream);
    transform: translateX(100%);
    transition: transform .3s ease;
    padding: 32px clamp(20px,6vw,40px);
    overflow-y:auto;
    z-index: 99;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{ flex-direction:column; gap: 4px; font-size: 19px; }
  .main-nav li{ border-bottom: 1px solid rgba(42,36,32,0.08); }
  .main-nav a{ display:block; padding: 16px 2px; }
  .nav-toggle{ display:block; }
}

@media (max-width: 760px){
  .hero{ min-height:80vh; }
  .brand img{ height: 44px; }
  .about-badge{
    width:108px; height:108px;
    bottom:-18px; left:-18px;
    padding: 0 14px;
    font-size:11px;
  }
  .about-badge strong{ font-size:22px; }
}

@media (max-width: 420px){
  .header-phone span{ display:none; }
}

@media (max-width: 560px){
  .service-grid{ grid-template-columns: 1fr; }
  .material-rail{ grid-template-columns: repeat(2, 1fr); }
  .material-rail figure{ height:180px; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows:150px; }
  .gallery-grid .wide{ grid-column: span 2; }
  .gallery-grid .tall{ grid-row: span 1; }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
}

/* =========================================================
   RECHTSTEXTE (Impressum / Datenschutz)
   ========================================================= */
.legal-hero{
  padding: 64px 0 8px;
}
.legal-hero h1{
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}
.legal-hero .updated{
  font-size: 13.5px;
  color: var(--stone);
}
.legal-content{
  padding: 24px 0 var(--gap-xl);
}
.legal-content .container{
  max-width: 780px;
}
.legal-content h2{
  font-size: 21px;
  margin: 46px 0 16px;
  padding-top: 4px;
}
.legal-content h2:first-child{ margin-top:0; }
.legal-content h3{
  font-family: var(--font-head);
  font-weight:600;
  font-size: 15.5px;
  color: var(--bronze);
  margin: 26px 0 10px;
}
.legal-content p{
  color:#4B4238;
  font-size:15.5px;
  line-height:1.75;
  margin-bottom: 14px;
}
.legal-content ul{
  margin: 0 0 16px;
  padding-left: 0;
  list-style:none;
}
.legal-content ul li{
  color:#4B4238;
  font-size:15.5px;
  line-height:1.75;
  padding-left: 20px;
  position:relative;
  margin-bottom:6px;
}
.legal-content ul li::before{
  content:"";
  position:absolute; left:0; top:11px;
  width:6px; height:6px; border-radius:50%;
  background: var(--copper);
}
.legal-content a{
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover{ color: var(--copper); }
.legal-content a.btn{ text-decoration:none; }
.legal-content strong{ color: var(--charcoal); }
.legal-content table{
  width:100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size:14.5px;
}
.legal-content table th,
.legal-content table td{
  text-align:left;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(42,36,32,0.08);
  color:#4B4238;
  vertical-align:top;
}
.legal-content table th{
  font-family: var(--font-head);
  font-weight:600;
  color: var(--charcoal);
  width: 38%;
}
.review-note{
  background: var(--ivory);
  border-left: 3px solid var(--copper);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 0 0 40px;
  font-size:13.5px;
  line-height:1.65;
  color:#6B6156;
}
.review-note strong{ color: var(--bronze); }
