/* =========================================================
   ROBERTO LORENZ — STATIC WEBSITE DESIGN SYSTEM
   Rein statisch: funktioniert auch per file:// Doppelklick.
   ========================================================= */

:root {
  color-scheme: only light;
  --bg: #f3f0e9;
  --surface: #fbfaf7;
  --surface-2: #e8e1d5;
  --text: #282722;
  --muted: #6f6b62;
  --line: rgba(40,39,34,.14);
  --stone: #9b866a;
  --stone-dark: #6f5e49;
  --sand: #c8b79d;
  --dark: #252521;
  --dark-2: #30302b;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 18px 60px rgba(43,38,31,.10);
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: only light; background:#f3f0e9; }
body { margin:0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color:var(--text); background:var(--bg); line-height:1.7; -webkit-font-smoothing:antialiased; color-scheme:only light; }
a { color:inherit; }
img, iframe { max-width:100%; }
button { font:inherit; }
address { font-style:normal; }
::selection { background:var(--sand); color:var(--text); }

.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.skip-link { position:fixed; left:12px; top:-80px; z-index:9999; background:#fff; color:#000; padding:10px 14px; transition:.2s; }
.skip-link:focus { top:12px; }
.container { width:min(calc(100% - 40px), var(--max)); margin-inline:auto; }
.narrow { max-width:820px; }
.section { padding:100px 0; }
.soft { background:var(--surface); }
.dark { background:var(--dark); color:var(--white); }

h1,h2,h3 { font-family: Georgia, "Times New Roman", serif; font-weight:500; line-height:1.08; margin:0; letter-spacing:-.025em; }
h1 { font-size:clamp(3rem, 7.5vw, 6.7rem); }
h2 { font-size:clamp(2rem, 4.5vw, 3.8rem); }
h3 { font-size:1.65rem; }
p { margin:0 0 1.1em; }
.eyebrow { margin:0 0 14px; color:var(--stone-dark); text-transform:uppercase; letter-spacing:.16em; font-size:.78rem; font-weight:700; }
.eyebrow.light { color:#d9c7aa; }
.prose p { color:var(--muted); font-size:1.05rem; }
.prose.large p { font-size:1.16rem; }

.site-header { position:sticky; top:0; z-index:1000; background:rgba(243,240,233,.94); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); transition:box-shadow .2s ease; }
.site-header.scrolled { box-shadow:0 8px 30px rgba(0,0,0,.06); }
.nav-inner { min-height:86px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.brand { display:flex; flex-direction:column; color:var(--text); text-decoration:none; line-height:1.05; }
.brand-name { font-family:Georgia, "Times New Roman", serif; font-size:1.42rem; }
.brand-tagline { margin-top:7px; color:var(--muted); text-transform:uppercase; letter-spacing:.11em; font-size:.62rem; }
.main-nav { display:flex; align-items:center; gap:22px; }
.main-nav a { position:relative; text-decoration:none; color:var(--muted); font-size:.9rem; }
.main-nav a:hover, .main-nav a.active { color:var(--text); }
.main-nav a.active::after { content:""; position:absolute; left:0; right:0; bottom:-12px; height:2px; background:var(--stone-dark); }
.menu-toggle { display:none; width:46px; height:46px; padding:10px; border:0; background:transparent; cursor:pointer; }
.menu-toggle > span:not(.sr-only) { display:block; width:100%; height:2px; margin:6px 0; background:var(--text); transition:.2s; }

.stone-surface { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(125deg,#37352f,#22221e 65%,#4e493f); color:white; }
.stone-surface::before { content:""; position:absolute; inset:-30%; z-index:-1; opacity:.25; background:radial-gradient(circle at 20% 30%, #c8b79d 0 1px, transparent 2px), radial-gradient(circle at 70% 65%, #fff 0 1px, transparent 2px), linear-gradient(115deg,transparent 43%,rgba(255,255,255,.12) 44%,transparent 45%); background-size:31px 31px, 47px 47px, 100% 100%; transform:rotate(-5deg); }

.home-hero { min-height:720px; display:flex; align-items:center; }
.hero-grid { display:grid; grid-template-columns:1.3fr .7fr; gap:70px; align-items:center; padding:90px 0 100px; }
.hero-copy h1 span { color:#d7c5a8; }
.hero-lead { max-width:700px; margin:30px 0 38px; color:rgba(255,255,255,.78); font-size:1.24rem; }
.button-row { display:flex; flex-wrap:wrap; gap:14px; }
.btn { display:inline-flex; justify-content:center; align-items:center; min-height:52px; padding:12px 22px; border:1px solid transparent; border-radius:var(--radius); background:var(--sand); color:var(--text); text-decoration:none; font-weight:700; transition:transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform:translateY(-2px); background:#d5c7b3; }
.btn-ghost { background:transparent; color:white; border-color:rgba(255,255,255,.42); }
.btn-ghost:hover { background:rgba(255,255,255,.08); }
.btn-dark { background:var(--dark); color:white; }
.btn-dark:hover { background:#3c3a34; }
.btn-light { background:white; color:var(--dark); }

.hero-mark { position:relative; min-height:400px; display:grid; place-items:center; }
.monogram { width:250px; aspect-ratio:1; border:1px solid rgba(255,255,255,.22); display:grid; place-items:center; font-family:Georgia,serif; font-size:5rem; color:#d7c5a8; transform:rotate(-3deg); }
.chisel-line { position:absolute; height:1px; width:90%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent); transform-origin:center; }
.chisel-line.one { transform:rotate(22deg); }.chisel-line.two { transform:rotate(-18deg); }.chisel-line.three { transform:rotate(62deg); width:70%; }

/* Echte Bildmotive statt dekorativer Platzhalter */
.hero-photo-wrap {
  position:relative;
  justify-self:end;
  width:min(100%, 430px);
  aspect-ratio:4 / 5;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.24);
  box-shadow:0 28px 70px rgba(0,0,0,.28);
  transform:rotate(1.2deg);
}
.hero-photo-wrap::after {
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(255,255,255,.18);
  pointer-events:none;
}
.hero-photo {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  filter:saturate(.88) contrast(1.03);
}

.services-feature-image {
  margin:0 0 62px;
  height:clamp(220px, 28vw, 360px);
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--surface-2);
  box-shadow:var(--shadow);
}
.services-feature-image img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

.company-spectrum-grid {
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);
  gap:64px;
  align-items:start;
}
.company-spectrum-photo {
  position:sticky;
  width:100%;
  max-width:100%;
  font-size:0;
  line-height:0;
  top:118px;
  display:block;
  min-height:620px;
  overflow:hidden;
  background:var(--surface-2);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  text-decoration:none;
}
.company-spectrum-photo img {
  width:100%;
  height:100%;
  min-height:620px;
  display:block;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}
.company-spectrum-photo:hover img { transform:scale(1.025); }
.image-zoom-hint {
  position:absolute;
  left:18px;
  bottom:18px;
  padding:8px 11px;
  background:rgba(37,37,33,.78);
  color:white;
  font-size:.75rem;
  letter-spacing:.05em;
}
.company-spectrum-content h2 { max-width:800px; }
.company-spectrum-content .feature-list { margin-top:46px; }
.company-spectrum-content .feature-list > div { grid-template-columns:54px 230px 1fr; gap:24px; }

.page-hero { padding:115px 0 105px; }
.page-hero h1 { font-size:clamp(3.2rem,7vw,6rem); }
.page-intro { max-width:690px; margin:26px 0 0; color:rgba(255,255,255,.72); font-size:1.22rem; }

.split { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:start; }
.intro-split h2 { max-width:500px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:45px; }
.section-heading h2 { max-width:760px; }
.section-heading.inverse .eyebrow { color:#d9c7aa; }
.text-link { display:inline-flex; gap:8px; color:var(--stone-dark); text-decoration:none; font-weight:700; }
.text-link span { transition:transform .18s ease; }.text-link:hover span { transform:translateX(4px); }
.light-link { color:#d9c7aa; }

.card-grid { display:grid; gap:20px; }.card-grid.three { grid-template-columns:repeat(3,1fr); }
.service-card { background:var(--bg); border:1px solid var(--line); padding:34px; min-height:290px; transition:transform .2s, box-shadow .2s; }
.service-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.card-number { width:48px; height:48px; display:grid; place-items:center; border:1px solid var(--line); color:var(--stone-dark); font-size:.8rem; margin-bottom:50px; }
.service-card h3 { margin-bottom:16px; }.service-card p { color:var(--muted); margin:0; }

.reference-feature-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.16); }
.reference-feature { padding:40px 36px 20px 0; min-height:265px; border-right:1px solid rgba(255,255,255,.14); }
.reference-feature + .reference-feature { padding-left:36px; }
.reference-feature:last-child { border-right:0; }
.reference-place { color:#d9c7aa; text-transform:uppercase; letter-spacing:.15em; font-size:.72rem; }
.reference-feature h3 { font-size:2rem; margin:26px 0 16px; }.reference-feature p { color:rgba(255,255,255,.66); }

.material-teaser { display:grid; grid-template-columns:.85fr 1.15fr; gap:90px; align-items:center; }
.material-orbit { min-height:420px; position:relative; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; }
.material-orbit::before,.material-orbit::after { content:""; position:absolute; border:1px solid var(--line); border-radius:50%; }
.material-orbit::before { inset:18%; }.material-orbit::after { inset:37%; background:var(--stone); }
.material-orbit span { position:absolute; color:var(--muted); font-family:Georgia,serif; font-size:1.1rem; }
.material-orbit span:nth-child(1){top:9%;left:42%}.material-orbit span:nth-child(2){right:3%;top:47%}.material-orbit span:nth-child(3){bottom:8%;left:38%}.material-orbit span:nth-child(4){left:2%;top:48%}

.cta-band { padding:70px 0; background:var(--stone-dark); color:white; }
.cta-inner { display:flex; justify-content:space-between; align-items:center; gap:40px; }.cta-inner h2 { font-size:clamp(2rem,4vw,3rem); }

.feature-list { margin-top:50px; border-top:1px solid var(--line); }
.feature-list > div { display:grid; grid-template-columns:70px 260px 1fr; gap:28px; padding:34px 0; border-bottom:1px solid var(--line); align-items:start; }
.feature-list span { color:var(--stone-dark); font-size:.78rem; letter-spacing:.12em; }.feature-list p { color:var(--muted); margin:0; }
.quote-section { padding:100px 0; background:var(--dark); color:white; text-align:center; }
blockquote { margin:0; font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.5rem); line-height:1.25; }
.quote-note { margin:25px 0 0; color:rgba(255,255,255,.5); font-size:.8rem; }

.service-list { border-top:1px solid var(--line); }
.service-list article { display:grid; grid-template-columns:90px 1fr; gap:30px; padding:45px 0; border-bottom:1px solid var(--line); }
.service-index { color:var(--stone-dark); font-weight:700; letter-spacing:.12em; font-size:.8rem; padding-top:9px; }
.service-list article > div { display:grid; grid-template-columns:.75fr 1.25fr; gap:50px; align-items:start; }.service-list p { color:var(--muted); font-size:1.08rem; }

.material-grid { display:grid; gap:26px; }
.material-card { display:grid; grid-template-columns:310px 1fr; min-height:360px; border:1px solid var(--line); background:var(--surface); }
.material-card > div:last-child { padding:42px; }.material-card h2 { margin-bottom:18px; font-size:2.5rem; }.material-card p,.material-card li { color:var(--muted); }
.material-swatch { margin:0; min-height:100%; overflow:hidden; background:var(--surface-2); }
.material-swatch img { display:block; width:100%; height:100%; min-height:360px; object-fit:cover; transition:transform .45s ease; }
.material-card:hover .material-swatch img { transform:scale(1.025); }
.note-band,.privacy-note { padding:28px 0; background:var(--surface-2); color:var(--muted); }.note-band p,.privacy-note p { margin:0; }

.reference-list { display:grid; gap:80px; }
.reference-row { display:grid; grid-template-columns:1.05fr .95fr; gap:70px; align-items:center; }.reference-row.reverse .reference-visual { order:2; }.reference-row h2 { margin-bottom:22px; }.reference-row p { color:var(--muted); font-size:1.08rem; }
.reference-visual { min-height:430px; display:flex; align-items:flex-end; padding:28px; color:white; font-family:Georgia,serif; font-size:3rem; box-shadow:var(--shadow); }
.stone-a { background:linear-gradient(125deg,#7b6d59,#bda985,#6c6255); }.stone-b { background:linear-gradient(145deg,#d6cfbf,#968d7b,#c3b8a4); }.stone-c { background:linear-gradient(135deg,#5d6159,#979583,#4a4c46); }.stone-d { background:linear-gradient(135deg,#ae8b61,#d1b288,#8b6a49); }.stone-e { background:linear-gradient(135deg,#c5c0b8,#7d7972,#d6d0c6); }

.video-list { display:grid; gap:58px; }
.video-card { background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); overflow:hidden; }
.video-placeholder { aspect-ratio:16/9; background:linear-gradient(135deg,#35342f,#171715); display:grid; place-items:center; }
.video-button { width:100%; height:100%; border:0; background:transparent; color:white; display:flex; flex-direction:column; gap:8px; align-items:center; justify-content:center; cursor:pointer; }
.video-button .play { width:76px; height:76px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.4); border-radius:50%; font-size:1.4rem; padding-left:4px; margin-bottom:10px; }.video-button strong { font-family:Georgia,serif; font-size:1.8rem; }.video-button small { color:rgba(255,255,255,.55); }
.video-frame { width:100%; height:100%; border:0; display:block; }.video-copy { padding:36px; }.video-copy h2 { margin-bottom:16px; }

.contact-grid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:20px; }.contact-card { background:var(--surface); border:1px solid var(--line); padding:34px; min-height:330px; }.contact-card.primary { background:var(--dark); color:white; }.contact-card.primary .eyebrow { color:#d9c7aa; }.contact-card.primary a:not(.btn) { color:white; }.contact-card h2 { margin-bottom:30px; font-size:2.3rem; }.contact-card p,.contact-card address { color:var(--muted); }.contact-card.primary p { color:rgba(255,255,255,.68); }.contact-card address { margin-bottom:30px; }

.legal h2 { font-size:1.8rem; margin:48px 0 16px; }.legal h2:first-of-type { margin-top:0; }.draft-warning { padding:20px; border-left:4px solid var(--stone-dark); background:var(--surface-2); color:var(--text)!important; }

.site-footer { padding-top:65px; background:var(--dark); color:rgba(255,255,255,.64); }.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:50px; padding-bottom:55px; }.footer-brand { color:white; font-family:Georgia,serif; font-size:1.5rem; margin-bottom:10px; }.footer-heading { color:white; text-transform:uppercase; letter-spacing:.13em; font-size:.72rem; font-weight:700; }.site-footer a { color:inherit; text-decoration:none; }.site-footer a:hover { color:white; }.footer-bottom { padding:18px 0; border-top:1px solid rgba(255,255,255,.1); font-size:.82rem; }

@media (max-width: 960px) {
  .menu-toggle { display:block; }
  .main-nav { position:absolute; top:86px; left:0; right:0; display:none; flex-direction:column; align-items:stretch; gap:0; padding:14px 20px 24px; background:var(--bg); border-bottom:1px solid var(--line); }
  .main-nav.open { display:flex; }.main-nav a { padding:12px 0; }.main-nav a.active::after { display:none; }
  .hero-grid,.split,.material-teaser { grid-template-columns:1fr; }.hero-mark { display:none; }.home-hero { min-height:620px; }
  .card-grid.three,.reference-feature-grid { grid-template-columns:1fr; }.reference-feature-grid { border-top:0; }.reference-feature,.reference-feature + .reference-feature { padding:30px 0; border-right:0; border-top:1px solid rgba(255,255,255,.14); }
  .material-orbit { max-width:500px; width:100%; aspect-ratio:1; min-height:0; margin:auto; }
  .feature-list > div { grid-template-columns:60px 1fr; }.feature-list p { grid-column:2; }
  .service-list article > div { grid-template-columns:1fr; gap:12px; }
  .material-card { grid-template-columns:240px 1fr; }
  .reference-row,.reference-row.reverse { grid-template-columns:1fr; gap:30px; }.reference-row.reverse .reference-visual { order:0; }
  .contact-grid { grid-template-columns:1fr 1fr; }.contact-card.primary { grid-column:1/-1; }
}

@media (max-width: 680px) {
  .container { width:min(calc(100% - 28px), var(--max)); }.section { padding:72px 0; }.nav-inner { min-height:76px; }.main-nav { top:76px; }
  .brand-tagline { display:none; }.brand-name { font-size:1.3rem; }
  .home-hero { min-height:600px; }.hero-grid { padding:70px 0; }.hero-lead { font-size:1.05rem; }
  .button-row,.cta-inner,.section-heading { flex-direction:column; align-items:flex-start; }.button-row .btn { width:100%; }
  .page-hero { padding:80px 0 72px; }.page-intro { font-size:1.05rem; }
  .split { gap:34px; }.section-heading { gap:18px; }
  .service-card { min-height:0; }.card-number { margin-bottom:30px; }
  .material-orbit { display:none; }
  .feature-list > div { grid-template-columns:45px 1fr; gap:16px; }
  .service-list article { grid-template-columns:45px 1fr; gap:12px; padding:34px 0; }
  .material-card { grid-template-columns:1fr; }.material-swatch { min-height:190px; }.material-swatch img { min-height:220px; max-height:320px; }.material-card > div:last-child { padding:28px; }.material-card h2 { font-size:2rem; }
  .reference-visual { min-height:300px; }.reference-list { gap:55px; }
  .contact-grid { grid-template-columns:1fr; }.contact-card.primary { grid-column:auto; }
  .footer-grid { grid-template-columns:1fr; gap:25px; }
}


/* Bildplatzierungen: responsive Feinschliff */
@media (max-width: 960px) {
  .hero-photo-wrap {
    display:block;
    justify-self:center;
    width:min(78vw, 420px);
    margin-top:18px;
  }
  .home-hero .hero-grid { grid-template-columns:1fr; }
  .company-spectrum-grid { grid-template-columns:1fr; gap:42px; }
  .company-spectrum-photo {
    position:relative;
    top:auto;
    min-height:0;
    max-height:520px;
  }
  .company-spectrum-photo img { min-height:0; height:auto; max-height:520px; object-fit:cover; }
  .company-spectrum-content .feature-list > div { grid-template-columns:60px 1fr; }
  .company-spectrum-content .feature-list p { grid-column:2; }
}

@media (max-width: 680px) {
  .hero-photo-wrap { width:min(86vw, 360px); aspect-ratio:4 / 5; }
  .services-feature-image { margin-bottom:40px; height:220px; }
  .company-spectrum-photo { max-height:none; }
  .company-spectrum-photo img { width:100%; max-height:none; }
  .company-spectrum-content .feature-list > div { grid-template-columns:45px 1fr; gap:16px; }
}

/* =========================================================
   SOCIAL-NAVIGATION
   ========================================================= */
.nav-socials {
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:2px;
  padding-left:14px;
  border-left:1px solid var(--line);
}
.main-nav .nav-social {
  width:38px;
  height:38px;
  padding:0;
  display:grid;
  place-items:center;
  flex:0 0 38px;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--muted);
  line-height:1;
  transition:color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.main-nav .nav-social:hover {
  color:var(--text);
  border-color:rgba(40,39,34,.30);
  background:rgba(255,255,255,.34);
  transform:translateY(-1px);
}
.main-nav .nav-social::after { display:none; }
.main-nav .nav-social svg {
  display:block;
  width:17px;
  height:17px;
  fill:currentColor;
}

/* =========================================================
   REFERENZFOTOS + LIGHTBOX
   ========================================================= */
.reference-photo {
  position:relative;
  display:block;
  width:100%;
  max-width:100%;
  min-height:430px;
  padding:0 !important;
  overflow:hidden;
  isolation:isolate;
  font-size:0;
  line-height:0;
  background:var(--surface-2);
  color:white;
  text-decoration:none;
  cursor:zoom-in;
}
.reference-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease, filter .35s ease;
}
.reference-photo::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 58%, rgba(0,0,0,.42));
  pointer-events:none;
}
.reference-photo:hover img {
  transform:scale(1.018);
  filter:brightness(.94);
}
.reference-zoom {
  position:absolute;
  z-index:2;
  right:18px;
  bottom:18px;
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.44);
  background:rgba(20,20,18,.68);
  color:#fff;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size:.78rem;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.02em;
  backdrop-filter:blur(5px);
}

.image-lightbox {
  position:fixed;
  inset:0;
  z-index:5000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:38px;
  background:rgba(15,15,14,.94);
}
.image-lightbox.open { display:flex; }
.image-lightbox figure {
  margin:0;
  max-width:min(94vw, 1500px);
  max-height:92vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.image-lightbox img {
  display:block;
  max-width:100%;
  max-height:84vh;
  width:auto;
  height:auto;
  object-fit:contain;
  box-shadow:0 24px 70px rgba(0,0,0,.45);
}
.image-lightbox figcaption {
  color:rgba(255,255,255,.78);
  font-size:.9rem;
  text-align:center;
}
.image-lightbox-close {
  position:absolute;
  top:18px;
  right:20px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.34);
  border-radius:50%;
  background:rgba(0,0,0,.2);
  color:white;
  font-size:1.7rem;
  line-height:1;
  cursor:pointer;
}
.image-lightbox-close:hover { background:rgba(255,255,255,.12); }
body.lightbox-open { overflow:hidden; }

@media (max-width: 960px) {
  .nav-socials {
    margin:10px 0 0;
    padding:16px 0 0;
    border-left:0;
    border-top:1px solid var(--line);
  }
  .main-nav .nav-social { padding:0; }
}

@media (max-width: 680px) {
  .reference-photo { min-height:300px; }
  .reference-zoom { right:12px; bottom:12px; font-size:.72rem; }
  .image-lightbox { padding:18px; }
  .image-lightbox-close { top:10px; right:10px; }
}



/* =========================================================
   TOUCH / TABLET ROBUSTNESS — v7
   Desktop bleibt unverändert. Auf Touch-Geräten wird bewusst
   ein helles, stabiles Farbschema verwendet und die Navigation
   auf das Hamburger-Menü umgestellt – unabhängig von der
   gemeldeten Pixelbreite des Tablets.
   ========================================================= */

@media (hover: none) and (pointer: coarse) {
  :root,
  html,
  body {
    color-scheme: only light !important;
  }

  body {
    background:#f3f0e9 !important;
    color:#282722 !important;
  }

  /* Header / Navigation: keine winzigen oder riesigen Social-Icons */
  .site-header {
    background:#f3f0e9 !important;
    color:#282722 !important;
    backdrop-filter:none !important;
  }

  .menu-toggle {
    display:block !important;
    width:46px !important;
    height:46px !important;
    flex:0 0 46px !important;
  }

  .menu-toggle > span:not(.sr-only) {
    background:#282722 !important;
  }

  .main-nav {
    position:absolute !important;
    top:86px !important;
    left:0 !important;
    right:0 !important;
    z-index:1001 !important;
    display:none !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:14px 24px 22px !important;
    background:#f7f4ee !important;
    border-bottom:1px solid rgba(40,39,34,.14) !important;
    box-shadow:0 18px 35px rgba(43,38,31,.10) !important;
  }

  .main-nav.open {
    display:flex !important;
  }

  .main-nav > a:not(.nav-social) {
    display:block !important;
    width:100% !important;
    padding:11px 0 !important;
    color:#4f4b44 !important;
    font-size:1rem !important;
    line-height:1.35 !important;
  }

  .main-nav > a.active,
  .main-nav > a:hover,
  .main-nav > a:focus-visible {
    color:#282722 !important;
  }

  .main-nav a.active::after {
    display:none !important;
  }

  .nav-socials {
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px !important;
    width:100% !important;
    margin:8px 0 0 !important;
    padding:16px 0 0 !important;
    border-left:0 !important;
    border-top:1px solid rgba(40,39,34,.14) !important;
  }

  .main-nav .nav-social,
  .main-nav .nav-social:visited {
    display:grid !important;
    place-items:center !important;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    max-width:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    flex:0 0 42px !important;
    padding:0 !important;
    margin:0 !important;
    border:1px solid rgba(40,39,34,.18) !important;
    border-radius:50% !important;
    background:#fff !important;
    color:#625b50 !important;
    line-height:1 !important;
  }

  .main-nav .nav-social svg {
    display:block !important;
    width:18px !important;
    height:18px !important;
    max-width:18px !important;
    max-height:18px !important;
    fill:currentColor !important;
  }

  /* Helles Tablet-/Smartphone-Farbschema. Desktop bleibt dunkel/edel. */
  .stone-surface {
    background:linear-gradient(135deg,#ede6da 0%,#e4dacb 58%,#d9cbb8 100%) !important;
    color:#282722 !important;
  }

  .stone-surface::before {
    opacity:.09 !important;
    background:
      radial-gradient(circle at 20% 30%, rgba(75,67,56,.32) 0 1px, transparent 2px),
      radial-gradient(circle at 70% 65%, rgba(111,94,73,.24) 0 1px, transparent 2px),
      linear-gradient(115deg, transparent 43%, rgba(75,67,56,.08) 44%, transparent 45%) !important;
    background-size:31px 31px,47px 47px,100% 100% !important;
  }

  .stone-surface h1,
  .stone-surface h2,
  .stone-surface h3,
  .hero-copy h1,
  .quote-section h2,
  .cta-band h2,
  .contact-card.primary h2 {
    color:#282722 !important;
  }

  .hero-copy h1 span {
    color:#755f45 !important;
  }

  .hero-lead,
  .page-intro,
  .stone-surface p,
  .reference-feature p,
  .contact-card.primary p,
  .quote-note {
    color:#625e56 !important;
  }

  .eyebrow.light,
  .section-heading.inverse .eyebrow,
  .reference-place,
  .contact-card.primary .eyebrow,
  .light-link,
  .text-link,
  .text-link:visited {
    color:#705d45 !important;
  }

  .cta-band,
  .quote-section,
  .site-footer,
  .contact-card.primary {
    background:#e7ded1 !important;
    color:#282722 !important;
  }

  .site-footer,
  .site-footer p,
  .site-footer a,
  .site-footer a:visited {
    color:#625e56 !important;
  }

  .footer-brand,
  .footer-heading {
    color:#282722 !important;
  }

  .footer-bottom {
    border-top-color:rgba(40,39,34,.14) !important;
  }

  .btn-ghost,
  .btn-ghost:visited {
    background:rgba(255,255,255,.68) !important;
    border-color:rgba(40,39,34,.20) !important;
    color:#282722 !important;
  }

  .btn-light,
  .btn-light:visited {
    background:#fff !important;
    color:#282722 !important;
  }

  .btn-dark,
  .btn-dark:visited {
    background:#50483d !important;
    color:#fff !important;
  }

  /* Bilder: Links bleiben exakt in ihrer Bildbox und überdecken nichts. */
  .reference-photo,
  .company-spectrum-photo {
    position:relative !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
    isolation:isolate !important;
    font-size:0 !important;
    line-height:0 !important;
  }

  .reference-photo {
    min-height:320px !important;
    padding:0 !important;
  }

  .reference-photo img,
  .company-spectrum-photo img {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }

  .reference-photo img {
    position:absolute !important;
    inset:0 !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .reference-zoom,
  .image-zoom-hint {
    position:absolute !important;
    z-index:3 !important;
    right:12px !important;
    left:auto !important;
    bottom:12px !important;
    width:auto !important;
    max-width:calc(100% - 24px) !important;
    padding:7px 10px !important;
    margin:0 !important;
    background:rgba(45,42,37,.78) !important;
    border:1px solid rgba(255,255,255,.38) !important;
    color:#fff !important;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
    font-size:.74rem !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    letter-spacing:.01em !important;
    white-space:nowrap !important;
    pointer-events:none !important;
  }

  .image-zoom-hint {
    right:auto !important;
    left:12px !important;
  }

  /* Formulare explizit hell halten. */
  input,
  select,
  textarea,
  button {
    color-scheme:only light !important;
  }

  .contact-form input:not([type="checkbox"]),
  .contact-form select,
  .contact-form textarea {
    background:#fff !important;
    color:#282722 !important;
    border-color:#c9c1b6 !important;
  }

  .contact-form-section {
    background:#ebe4d9 !important;
  }

  .contact-form {
    background:#fbfaf7 !important;
    color:#282722 !important;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 680px) {
  .main-nav { top:76px !important; }
  .reference-photo { min-height:280px !important; }
}

/* Sicherheitsnetz für Browser mit erzwungenem Dark Mode. */
@media (prefers-color-scheme: dark) {
  :root, html, body { color-scheme: only light !important; }
}


/* =========================================================
   UNTERNEHMEN — PORTRAIT / PRESSETEXT
   ========================================================= */
.company-story-hero h1 { max-width:850px; }
.company-story-hero .page-intro { max-width:760px; }

.company-story-grid {
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:90px;
  align-items:start;
}
.company-story-grid > div:first-child h2 { max-width:520px; }
.company-inline-quote {
  margin:42px 0 0;
  padding:28px 0 0 30px;
  border-left:3px solid var(--stone);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(1.65rem,3vw,2.45rem);
  line-height:1.28;
  color:var(--text);
}

.company-history-grid {
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:80px;
  align-items:start;
}
.company-history-copy h2 { max-width:700px; margin-bottom:34px; }
.company-history-copy strong { color:var(--text); }
.company-history-quote {
  position:sticky;
  top:120px;
  padding:48px;
  background:var(--dark);
  color:white;
  box-shadow:var(--shadow);
}
.company-history-quote .eyebrow { color:#d9c7aa; }
.company-history-quote blockquote {
  font-size:clamp(1.8rem,3.2vw,3rem);
  line-height:1.25;
  text-align:left;
}

.company-milestones-grid {
  display:grid;
  grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);
  gap:68px;
  align-items:start;
}
.company-milestones-photo { min-height:640px; }
.company-milestones-photo img { min-height:640px; }
.company-milestones-content h2 { max-width:760px; }
.milestone-list { margin-top:48px; border-top:1px solid var(--line); }
.milestone-list > div {
  display:grid;
  grid-template-columns:120px 1fr;
  gap:28px;
  padding:30px 0;
  border-bottom:1px solid var(--line);
  align-items:start;
}
.milestone-key {
  color:var(--stone-dark);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding-top:8px;
}
.milestone-list h3 { margin-bottom:9px; font-size:1.5rem; }
.milestone-list p { margin:0; color:var(--muted); }
.company-closing-quote .eyebrow { margin-bottom:28px; }
.company-closing-line { margin:0; font-family:Georgia, "Times New Roman", serif; font-size:clamp(2rem,4vw,3.5rem); line-height:1.25; }

@media (max-width: 960px) {
  .company-story-grid,
  .company-history-grid,
  .company-milestones-grid {
    grid-template-columns:1fr;
    gap:42px;
  }
  .company-history-quote { position:relative; top:auto; }
  .company-milestones-photo { min-height:0; max-height:540px; }
  .company-milestones-photo img { min-height:0; height:auto; max-height:540px; object-fit:cover; }
}

@media (max-width: 680px) {
  .company-inline-quote { padding-left:20px; margin-top:32px; }
  .company-history-quote { padding:30px 24px; }
  .milestone-list > div { grid-template-columns:1fr; gap:8px; padding:25px 0; }
  .milestone-key { padding-top:0; }
  .company-milestones-photo,
  .company-milestones-photo img { max-height:none; }
}

@media (hover: none) and (pointer: coarse) {
  .company-history-quote {
    position:relative !important;
    top:auto !important;
    background:#e9e1d5 !important;
    color:#282722 !important;
  }
  .company-history-quote .eyebrow { color:#6f5e49 !important; }
  .company-history-quote blockquote { color:#282722 !important; }
}
